|
Hi,
I will try my best to make this question brief. I am constructing a form dynamically, and the number of input fields change. In the past I have used a loop to add a digit to the name of each input (i.e. name1, name2, name3...) Then another loop to retrieve those named variables (i.e. for ($i=1, ... blah blah { if( isset($_POST['name$i'])). That works fine in the newer versions of PHP. But alas, the host for my client's web site is using PHP version 4.0.4. YAY!
No $_GET. No $_POST. And you can't use if (isset($name$i). That just don't fly.
Any suggestions?
|