select * from table_name where criteria=whatever limit 1; -----Original Message----- From: Mason Batley [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 11, 2002 12:02 AM To: [EMAIL PROTECTED] Subject: [PHP] mysql
Hi guys, I've been looking on the net and the php docs for a simple mysql query solution, can someone please let me know the best way to get the values of a query that only returns 1 record? All the select query examples on the net are examples of multiple records being returned, and therefor, there is repition methods shown. For this I don't need any repitition, I just need to know the best way to get the DB values from the query into variables. Cheers. -Mason -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php