Re: $_POST trouble with html form

From: Date: Sun, 08 Feb 2004 19:04:13 +0000
Subject: Re: $_POST trouble with html form
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-177164@lists.php.net to get a copy of this message
Adam Bregenzer wrote:
You will not have access to the $_POST["comment"] variable until the form is submitted.
Understood. That debug test only worked after submitting the form. So maybe the better way is to just submit the form with the action file simply reloading the main page to refresh it then put my code below with an if statement checking if the form has been submitted yet and clearing $_POST when I'm done.

« previous php.general (#177164) next »