i have a database and then a table the table has three colums they areauth,user, ip
now what i want to know is their a way to say like:
$auth=$_GET['auth'];
if(in column auth we find the auth value)
do this
else
do this
im using this with a java application sorry i know more ava then php.
I have the connections and the select data base and all. I know tha much i know how to insert data but i have no clue how to ceck if somthing exists.