|
Posted by Mladen Gogala on 01/15/06 03:28
On Sat, 14 Jan 2006 22:24:24 +1300, windandwaves wrote:
> What is the most efficient way to do this?
To do it with the SQL. If you want to check one particular field
in your table, you would write your SQL as
$sql="select * from some_table where
one_particular_field='PARTICULAR_VALUE'";
The main rule of writing a database application is: whatever you can
do in the database, do in the database. That's what you have the database
for: to provide some intelligence for the data retrieval. Why bother using
database when you're using it as a flat file?
--
http://www.mgogala.com
Navigation:
[Reply to this message]
|