RE: [PHP] mysql

From: Date: Wed, 10 Apr 2002 11:13:19 +0000
Subject: RE: [PHP] mysql
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-92363@lists.php.net to get a copy of this message
select * from table_name where criteria=whatever limit 1; -----Original Message----- From: Mason Batley [mailto:mason@section31.com.au] Sent: Thursday, April 11, 2002 12:02 AM To: php-general@lists.php.net 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

« previous php.general (#92363) next »