MySQL Forums
Forum List  »  Newbie

Re: What is wrong with my SQL syntax?
Posted by: Luke O'Brien
Date: May 27, 2012 08:01AM

Thanks for all you help and patience!

This morning I had a revelation, I didn't mention that I am using the PHP function mysql_escape_string() (which is actually deprecated), I should of been using mysql_real_escape_string().

The script sucsessfully imports from an CSV file now.

I should of spotted it from the / escape characters in the mysql error message.
Oh well, guess I am a newbie after all!

Thanks,

Luke

Options: ReplyQuote


Subject
Written By
Posted
Re: What is wrong with my SQL syntax?
May 27, 2012 08:01AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.