Forms and Results with PHP

From: Date: Thu, 06 Dec 2001 22:14:03 +0000
Subject: Forms and Results with PHP
Groups: php.general 
Request: Send a blank email to php-general+get-76954@lists.php.net to get a copy of this message
I have a form that a user can put his contact info. This form posts to a file called results.php. The results.php file has a mail() command and the echo (i.e. <? echo "$name"; ?>) to show the user confirmation of what he has submitted. However, if someone goes directly to results.php it will show Name: blank and email blank information. Is there a way for the page to post an error stating no information was submitted or is there a way to enable the page to process without information? Thanks for the help, Ben

« previous php.general (#76954) next »