Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
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 1
/save_inc.asp, line 47
I'm getting this error , when i use response.write(sql) instead of db_conn.execute(sql) it works fine .
for i=0 to (tSim_num)
LINE 47 :
sql = "insert into tach values (null,"&projID&",'"&t_carr(i)&"','"&t_carType(i)&" ','"&t_host(i)&"','"&t_dir(i)&"','"&t_pin(i)&"','" &tSim_ip(i)&"',"&t_num(i)&","&t_pc(i)&","&t_UID1(i )&","&t_UID2(i)&",'"&t_by(i)&"','"&t_par(i)&"','"& t_im(i)&"','"&t_auto(i)&"')"
db_conn.execute(sql)
next
Plz help