|
Posted by Tony Peardon on 09/02/07 06:23
Hi all,
I've got a php function which asks mysql the following question...
"select * from data where id='$id' and parent='$parent' and node='$node'"
Now, I don't need to "select *", because the function is simply supposed
to return true if the data exists in the database, so how do I get the
query to return true if the data exists, and false if it doesn't.
Thanks,
Tony.
Navigation:
[Reply to this message]
|