We have three PHP pages with html form. In the first page we have the fields showing the values of the variables and the hidden fields containing the values of the variables like this:
<input name="nome" type="hidden" value=".$nome." >
From the first page to the second, all values are passed correctly via $_POST['nome']
this way, since I checked with echo var_dump($nome)
.
From the second page to the third that is the processing of the filled form whose values from the hidden fields go to the database, the values of those variables are lost.
The var_dump()
shows that the variables are null ( NULL
) and also get the message:
Indefined index [...]
Note that the variables that only exist on the second page are usually entered in the database.
If I pass directly without field hidden
, goes to database .$nome.
What could I be doing wrong? How else could you go with these variables up to the third page?