I tried what seemed like the most intuitive approach
$query = \"SELECT * FROM members WHERE username = \'$_CLEAN[username]\' AND password =
$result = mysql_query(...); if(false !== $result) { //... }