hi everyone,

I am new to all php and mySQL.
What i am trying to do is to obtain information from the db using 3 conditions.
this is what i've got

$sql_num = mysql_query("SELECT * FROM siteinfo WHERE dive_operator = '1' AND status = 
'1'",$db) or die (mysql_error());

the 3 conditions i need is

dive_operator=1
destination=whatever
status=1

how can i add destination=whatever to the mix?

thanks in advance for your assistance.

Reply via email to