How do you pass variables/arrays using hidden form fields?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
TheDumbNerd
Forum Newbie
Posts: 13
Joined: Sun Nov 13, 2011 4:01 pm

How do you pass variables/arrays using hidden form fields?

Post by TheDumbNerd »

How do you pass them using hidden form fields and the serialize and unserialize functions?
Livengood
Forum Newbie
Posts: 11
Joined: Tue Nov 01, 2011 2:48 pm

Re: How do you pass variables/arrays using hidden form field

Post by Livengood »

you can run the function at the start and use an if statement in the form use the action as for example /index.php?action=login and then run arrays or variables into the functions.
Post Reply