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
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
2 matches
Mail list logo