Is this a bug? or a problem on my part.
I have a form ...
<form method="post" action="/whereru/searchw.php>
<input type="text" name="lname" size="35">
<input type="SUBMIT" value="Search" name="lookup">
<br>
<input type="radio" name="ncp" value="1" checked>
books, or
<input type="radio" name="ncp" value="2">
magazines</form>
the PHP script checkes to see if the submit button is clicked and processes a script.
e.g. if( $lookup ) { do stuff }
Problem is I have to click on the Submit button twice to see a result when the method is POST.
Just for debugging purposes i changed POST to GET, and experienced the same problem. However, i noticed that the submit button value was not present in the URL after the first click of the button but all the other variables were there. On the second click the submit button value appeared.
Can anyone shed some light on this. i have spent the past couple weeks trying to figure this out.
I've read all the posts on the mailing list but cannot find a problem similar to this.
My config
Apache 1.3.12
PHP 4.0.0
MySQL 3.23.32
Linux 6.2
Seeking any help possible.
David