so i have a simple sql insert statement:
insert into customers (fname,lname,ssn,dln,dl_image,date_added,user_id,account_id,notes) values ('susan','smith','54321','9876','dl_5_1081207650.jpg',now(),1,5,'notes')
that fails when executed from my php code mysql_query(...)
the statement works from the command line and from the various sql admin shells out there ... the db connection has been established etc etc
the error message from mysql is that there is a syntax error near '' at line 1 ... not terribly helpful
if anybody has any clues please share them cos im going slightly mad
thnx
🙂