RE: [PHP] $_POST vars problem

From: Date: Tue, 21 Jan 2003 01:09:59 +0000
Subject: RE: [PHP] $_POST vars problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-132325@lists.php.net to get a copy of this message
> On another note, I have found that if I include (and use) > the submit button > everything works perfectly, HOWEVER if I just enter data and > hit return then it messes up. You could try including a hidden submit field like this: <input type="hidden" name="submit" value="1"> For name="submit" change that to whatever name your normal submit button has and you'll find that a submit is set even if you hit return instead of clicking on the submit button. It may or may not resolve the issues you're seeing but it can help general form processing anyway. CYA, Dave

« previous php.general (#132325) next »