Nodiaque Posted March 28, 2003 Share Posted March 28, 2003 Hi, I use a form that insert the message into mysql when submited. But if the user input ' or \ without the escaping char \ (like \' or \\), it crashed. There is a way to fix it but I simply dunno 'bout it, does someone know that? tks Link to comment Share on other sites More sharing options...
0 Tim Dorr Veteran Posted March 28, 2003 Veteran Share Posted March 28, 2003 If it is PHP, use the addslashes() function :) Link to comment Share on other sites More sharing options...
Question
Nodiaque
Hi, I use a form that insert the message into mysql when submited. But if the user input ' or \ without the escaping char \ (like \' or \\), it crashed. There is a way to fix it but I simply dunno 'bout it, does someone know that?
tks
Link to comment
Share on other sites
1 answer to this question
Recommended Posts