Re: [PHP] Entering data into MySQL

2002-02-25 Thread Jason Wong
On Monday 25 February 2002 15:39, Tim Thorburn wrote: Hi, I'm having troubles entering information from a form into a MySQL database. Specifically if the user enters an apostrophe anywhere in the form, all the information is rejected and nothing is entered into the database. After

Re: [PHP] Entering data into MySQL

2002-02-24 Thread Andrey Hristov
Try doing it by yourself. $the_str = str_replace('','\',$the_str); $the_str = str_replace(',\\',$the_str); This is a little hack until you find what is the problem with addslashes(); Best regards, Andrey Hristov IcyGEN Corporation http://www.icygen.com BALANCED SOLUTIONS - Original Message