$insert = mysql_query("
INSERT into analytics.pagesummary (Date, avg_load_time, min_load_time, max_load_time)
VALUES ($date,$string_avg, $string_min,$string_max)" )
or die('PROBLEM'.mysql_error());
Actual date values = '2013-02-07', '2013-02-08', '2013-02-09'
Date values in the database after the query is fired = '2004', '2003', '2002'
Other values being displayed of avg_load_time
, min_load_time
& max_load_time
are correct.
Where are we going wrong. Any help would be appreciated.