Re: Refreshing page after form submission

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Would something like this work....

If($_POST['submit']){//add error checking for whatever critical fields

echo "Thank you for filling out my form.\n";

} else {
//display form with a <input type="submit" name="submit" value="Save">

}

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux