A
Anonymous
Guest
I have the following query which returns a "Query Empty" error:
Can anyone see what I can't...? I've checked and double checked and it seems OK and there's definately data in the table.
Code:
$Query = mysql_query("SELECT * FROM events
WHERE EventCode == 'PMJ';
ORDER BY EventTime DESC");
$Data = mysql_query($Query) or die("Error: " . mysql_error());
while($row = mysql_fetch_array($Query))
Can anyone see what I can't...? I've checked and double checked and it seems OK and there's definately data in the table.