My question is about the two queries below:
$query = "select email from db where login = '$login' && (col='agent' || col='broker') ";
$query = "select email from db where login = '$login' && $col='agent' || $col='broker' ";
Is the parenthesis doing anything in the first query?
What I want is this:
where login = '$login' && $col='agent' ";
OR
where login = '$login' && $col='broker' ";
TIA,
Richie.