Here's my SQL:
$query = mysqli_query($db, "SELECT * FROM chat WHERE to = '0' ORDER BY id DESC LIMIT 0,30");
And my table looks like this:
Why does it not find it? If I remove the WHERE to = '0'
it works fine.
Here's my SQL:
$query = mysqli_query($db, "SELECT * FROM chat WHERE to = '0' ORDER BY id DESC LIMIT 0,30");
And my table looks like this:
Why does it not find it? If I remove the WHERE to = '0'
it works fine.