i run this query
$sql="SELECT * FROM news WHERE cat!='Admin Only' && private!='y' ORDER BY dateofpost LIMIT 7 "
I get no returns, i have records in my DB where both those conditions should be true. Whats wrong.
private is a CHAR(1) that can be null.
cat is a TINYTEXT that can not be null.