Php->Mysql data existance checking

wxdqz

New Member
Hi,

I am trying to run a check to see if a certain datum exists within table 't'.

e.g. say a column of the table is called 'username', how would I check to see if 'jim' exists in there?

I am not just needing to know the mysql, but also how to get PHP to return true/false!

Many thanks,
Jim.
 
Back
Top