Hi. I\'ve a form with 10 LIST objects... Each list object has from 5 to 6 values. I\'m so tired of making thousands of IF statements... I know that i should do with SWITCHs too, but it\'d be a lot of code too... Is there a method for evaluating all values and then to pass to another php3 file ? I must evaluate all values, so i have more or less 1000 possibilities of choice....
Hope you\'ve understood my english and the example
I send attached below the code of my list values... All the LISTs have the first option \'ALL\' (with value = ALL)
example1:
if ($row1=mysql_fetch_array($result1)
{
print (\'<option value=\"*\">ALL</option>\');
do
{
print (\'<option value=\"\');
echo $row1[\"op\"];
print (\'\">\');
echo $row1[\"name\"];
print (\'</option>\');
}
while ($row1=mysql_fetch_array($result1));
}
example1=example2=example3=...=example10
ok?