2
I have a form field on a page called register.php, for example. So I want to create a variable that receives the value that the user enters in this field, but I want this variable to be in the same code and not in another page, but I don’t know how to get this value, because it is not being passed either via post or via get. Has as?
like I know it’s not like that, but I’ll set this example for those who want to answer.
field: <input type="text" name="nome"/>
then I want to extract for a variable that will be on the same page of the code the value that the user enters...
$nome = $_GET['nome'];
. I know it’s not like that, but how do I do it? Or is there no way?
You want pagination or not?
– Guilherme Nascimento
With PHP there is no way, if I understand what you want to do, but with Javascript is possible.
– Woss