1
Good morning guys,
I am making a form (course work) and need to echo in all information typed in the form using REQUEST (can be POST too) when I click the "Submit button".
I searched the internet a lot, I saw several videos, but I just think how to do this given, like, making a line of code for each data... but it’s a lot of data on the form and I remember that my teacher made a single line that printed all the information typed, but I don’t remember how he did it.
You can use
var_dump($_POST)
orvar_export($_POST)
orprint_r($_POST)
...– fernandosavio
I needed to use echo and request pq was what he asked for, but if I don’t get it I’ll try what you said. Just put one of the 03 q vc listed between the php tag? need reference to the file? never used any of the 03.
– RWProgramer
echo var_export($_REQUEST, true);
or use aforeach
and iterates over all received fields– fernandosavio
Thanks, I’ll test it as soon as I get home.
– RWProgramer