[PHP-DB] duplicate entries in db

2002-02-07 Thread Justin Hall

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
[EMAIL PROTECTED]
 
 



RE: [PHP-DB] duplicate entries in db

2002-02-07 Thread Rick Emery

Ya haven't given us much to go on.  So...

SELECT DISTINCT * FROM mytable WHERE some condition;

-Original Message-
From: Justin Hall [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 07, 2002 2:24 PM
To: [EMAIL PROTECTED]
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
[EMAIL PROTECTED]
 
 

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php