Re: How to stop blank entries
| From: | (Miles Thompson) | Date: | Mon, 16 Apr 2001 18:09:14 +0000 |
| Subject: | Re: How to stop blank entries | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-8606@lists.php.net to get a copy of this message | ||
Dave,
Go to www.thickbook.com, look at JM's tutorials and pick the one where she talks about custom error messages. It's exactly what you want. IN fact, here's the exact URL, but it is a site worth looing around:
http://www.thickbook.com/extra/php_formcem.phtml
Miles
At 06:35 PM 4/16/01 +0100, DC wrote:
Hi All Firstly thanks to the people who have helped in the past with my questions... My issue: I have a registration script which allows new users of a site to become a member. All works very well BUT if a new user just hit enter on the blank form then a new account is created with all fields except the id field blank allowing anyone just to hit enter a gain access. I have search the MySql docs, Php.net docs, this and other NG's but i can't find the solution to this. And how can i carry forward the username to be shown on all pages after sucessful login. I thank you in advance Dave C To email me remove the NOSPAM bit of my return email address.... -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net For additional commands, e-mail: php-db-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net