My error is: 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 ')' at line 3
My code is:

$save = mysql_query( "INSERT into tblHourForecast (Issued,Station11,Station12,Station13,Station14,St ation15,Station16,Station117,Station18,Station19,F orecaster) VALUES (now(),'{$temp[0]},{$cond[0]}','{$temp[1]},{$cond[1]}','{$temp[2]},{$cond[2]}','{$temp[3]},{$cond[3]}','{$temp[4]},{$cond[4]}','{$temp[5]},{$cond[5]}','{$temp[6]},{$cond[6]}','{$temp[7]},{$cond[7]}','{$temp[8]},{$cond[8]}',$id) "); if (!($save)) //echo "Connection time out"; echo mysql_error();i really don't know what's wrong with something near ")". Line points to that part near ",$id)");"


Check Solution