|
Can you spot the error?!?
This is in php and mysql wont take it.
$record_string = "INSERT INTO commodity_data(0,1,2,3,4,5,6,7,8,timestamp) VALUES('".$rowdata[0]."','".$rowdata[1]."','".$rowdata[2]."','".$rowdata[3]."','".$rowdata[4]."','".$rowdata[5]."','".$rowdata[6]."','".$rowdata[7]."','".$rowdata[8]."','".time()."')";
Mysql wants me to take a look at my syntax but I have no idea what is wrong with it. Can you help?
|