Jump to content

Hidden field


rizla_za

Recommended Posts

Hi guys

 

I was just wondering if there is a way that one can determine if certain variables was passed via a hidden field. Maybe using an if statement?

This is my problem. I have about 200 pages with different forms posting to one page. So to make things easier I use a foreach ($_POST as $key => $val) loop to echo the values on the page, but I don’t want to echo the values of the hidden fields. There are to many hidden fields with different names to write an if statement for them all.

Any suggestions?

Thanks!!

 

Link to comment
https://forums.phpfreaks.com/topic/143738-hidden-field/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.