Hi,
I am new in php and have a post problem when I have the following scenario:
I have a submit button and a text field. If I fill in the textfield and then press 'Enter' key (not click on button), the name/value pair from the button is not submitted. However, if I have one more text field, it works.
Here is my code looks like:
<form name="testing" action="/testing.php" method="post">
<input type="submit" name="sel"
value="Select"
style="cursor: Hand;width:100px">
<input type="text" id="address" name="address" maxlength="20"
size="27">
From the above, sel=Select would be sumitted.
The problem seems very strange to me and don't know if anybody have similar problem in the past.
Please help