RE: [PHP-DB] duplicate entries in db
| From: | Rick Emery | Date: | Thu, 07 Feb 2002 20:33:24 +0000 |
| Subject: | RE: [PHP-DB] duplicate entries in db | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-16630@lists.php.net to get a copy of this message | ||
Ya haven't given us much to go on. So...
SELECT DISTINCT * FROM mytable WHERE <some condition>;
-----Original Message-----
From: Justin Hall [mailto:jhalljhall@yahoo.com]
Sent: Thursday, February 07, 2002 2:24 PM
To: php-db@lists.php.net
Subject: [PHP-DB] duplicate entries in db
I have a script that calls a function to perform a query using the
arguments sent to the function via http form processing.
I get two entries into the MySQL database for one query.
I only want one entry.
Can someone point me in the right direction?
Thanks in advance.
Justin Hall
JD Media
www.jdmedia.net
jdh@jdmedia.net