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
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.



PHP General Mailing List (
To unsubscribe, visit:

Reply via email to