mysql is outputting this error
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '=> '0000-00-01'' at line 1
here is my code
foreach($tables as $table)
{
//SELECT Everything from the table in use
$sql = "SELECT * FROM `".$table."` WHERE `timestamp` => '".$offline_time."'";
$result = mysql_query($sql);
echo mysql_error();
//Return Number of fields/colulms in the table.
$num_fields = mysql_num_fields($result);