Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Problem with select...
February 1, 2006, 10:22 pm
rate this thread
$_POST['$dane'][$idhotelu][$pomocnicza][$k] contains the selected value -
Am I right??
I have a problem ith this code:
echo "<option value=\"$i\"";
Even if I do something like this:
This seems to be true for $i=0:
"if" condition is true for $i=0 I have no idea why...
Is it because after submit form is reloaded?
What i wanted to get is that if user select "1" from dropdown list then
after reloading this form "1" will be selected value...
Thank for any ideas.
February 2, 2006, 8:45 am
Re: Problem with select...
get rid of the whole array thing and try using test instead. That is what
I have seen done before. I haven't seen any documentation that shows what
the behavior is for multidimensional arrays on a form element. only
suggestion in documentation is to use name.
haven't I seen this one before? shouldn't that be < instead of <= ?
- » error_reporting(E_ALL) fails to show anything - help!!
- — Previous thread in » PHP Scripting Forum