0

I have a query that i cannot get to work and im not sure why.

$mysql = "QUERY";
$result = $conn->query($mysql);

if (mysql_num_rows($result) > 0) {
    echo "data";
}else{
    echo "";
}

No matter how I mix the > < != it will always show echo "";

Rick James
  • 141
  • 7

0 Answers0