I'm trying to pull results based on ONLY a state entry OR a state and city entry from POST and its driving me nuts...
Thanks in advance!
$totnum=mysql_query("SELECT item_id,active from items WHERE state='$st' OR city+'$_POST[city]' AND state='$st' AND active='1'");
$totalnumber=mysql_num_rows($totnum);
$totrow=mysql_fetch_array($totnum);
Expected Result:
State = Florida
OR
State = Florida City = Daytona Beach