[PHP-DB] Unique Results?

2002-01-16 Thread Chris Payne
Hi there everyone, (Sorry if you got this twice, I don't think my mail server posted it earlier). I use the following code to populate a dropdown box from a MySQL database: $db = mysql_connect(localhost,^^^,^^^); mysql_select_db(mydb,$db); $result = mysql_query(select country from search); if

Re: [PHP-DB] Unique Results?

2002-01-16 Thread Janet Valade
$result = mysql_query(select distinct country from search); Janet - Original Message - From: Chris Payne [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 16, 2002 1:29 PM Subject: [PHP-DB] Unique Results? Hi there everyone, (Sorry if you got this twice, I don't think