Re: preventing duplicate entries
| From: | Johan Lundqvist | Date: | Wed, 27 Jun 2001 07:32:19 +0000 |
| Subject: | Re: preventing duplicate entries | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-8068@lists.php.net to get a copy of this message | ||
Pete,
Look at UPDATE or REPLACE (chap. 7.22 & 7.24 in MySql manual).
Then you might rewrite your SQL query to fit your needs.
/Johan
Pete Kuczynski wrote:
>
> I want to prevent duplicate entries into my mysql database which holds
> invertory of all network eqpt at my site. Engineers access it thru
> netscape and the query insert is done via pdp [below].
>
> I will place the script into php, any pointers on this would be
> appreciated.
>
> THX!
>
> Pete
>