Help needed with passing form values (old PHP Version)
Posted: Fri Sep 27, 2002 10:51 am
Hi guys
I'm pretty new to PHP and just ran into a problem, which is probably the easiest question to answer for you guys
I am working with forms and are trying to set up a form to pass some values into another php file. It works fine with textareas and inputboxes, but as soon as I try with radio or select it doesn't work.
No matter what I select it always pass on the first value listed on the original page.
I am running PHP 4.0.6 and the html part look like this:
<form name="frm" method="get" action="insertsetdaymsg.php">
Even though I tried making "Every Other" the default, it still pass "Every"
Can anyone guide me on? Thank you
Jesper
I'm pretty new to PHP and just ran into a problem, which is probably the easiest question to answer for you guys
I am working with forms and are trying to set up a form to pass some values into another php file. It works fine with textareas and inputboxes, but as soon as I try with radio or select it doesn't work.
No matter what I select it always pass on the first value listed on the original page.
I am running PHP 4.0.6 and the html part look like this:
<form name="frm" method="get" action="insertsetdaymsg.php">
Code: Select all
<SELECT NAME='txtoften'>
<OPTION VALUE='every'>Every</OPTION>
<OPTION VALUE='everyother' SELECTED='yes'>Every Other</OPTION>
<OPTION VALUE='everythird'>Every Third</OPTION>
<OPTION VALUE='everyfourth'>Every Fourth</OPTION>
</SELECT>Can anyone guide me on? Thank you
Jesper