RE: [PHP] Validate a form entry against an existing entry.

From: Date: Mon, 19 May 2003 00:47:38 +0000
Subject: RE: [PHP] Validate a form entry against an existing entry.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-148132@lists.php.net to get a copy of this message
you could define the table schema as "UNIQUE" on the column that you don't want duplicates for.... -----Original Message----- From: SP Computing [mailto:webmaster@spcomputing.com] Sent: Sunday, May 18, 2003 1:06 PM To: php-general@lists.php.net Subject: [PHP] Validate a form entry against an existing entry. hi all, i have a test form with 1 form field and the data from the form field is inserted into a mysql db. how do i make sure that no 2 same values can go into the database? I want to validate it using PHP and not JavaScript or anything like that. TIA -- -- SP Computing http://www.spcomputing.com Assisting Windows® Users! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#148132) next »