Re: form question
| From: | David Robley | Date: | Mon, 20 Nov 2000 00:28:15 +0000 |
| Subject: | Re: form question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-26162@lists.php.net to get a copy of this message | ||
On Mon, 20 Nov 2000, Gianni Ponzi wrote:
>
> Hi
>
> how can I check that form info has not been inserted in the DB already before inserting it ?
>
> thanks in advance
> Gianni
>
Do a query on the database using the form info; if you get a result with
one or more results then you already have the data in the DB
--
David Robley | WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet | http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA