problem with submit button

From: Date: Fri, 16 May 2003 02:28:50 +0000
Subject: problem with submit button
Groups: php.general 
Request: Send a blank email to php-general+get-147849@lists.php.net to get a copy of this message
Hi all, I have a little problem here. Let say i have 1 page for login (have 2 textbox, name and password, and submit button). And if user click submit button, then go to 2nd page. In the 2nd page: <? if(isset($_POST['submit']) { print "Submit Button click"; } else { print "Submit Button not click"; } ?> the problem are, after user filled two textbox on login form, and then user push ENTER on his/her keyboard, in 2nd page appear "Submit Button not click". I want if they push ENTER, still appear "Submit Button click". Can anyone help me for this problems? By the way, thanks for the attention. ---Riza Fahmi---

« previous php.general (#147849) next »