I've got a date row in a table, we'll call it games, that stores some dates. I'd like to SELECT all of the dates in this row that are not equal to 00-00-00. I tried a SELECT statement like this:
$sql = "SELECT games FROM datetable WHERE games <> '0000-00-00'";
However I get a parse error when I execute it. So, am I missing something simple here in my syntax or something? Thanks