Page 1 of 1

[SOLVED] Problem with the Single quotation~!!!

Posted: Fri Aug 13, 2004 9:08 am
by kevin7
i've a textbox for people to fill some description...
i type in the following text...
i've a pen!
then, as usual, i get the data with... and store it into the mysql database..

Code: Select all

$text = $_REQUEST['text'];
the problem is, when i display it, it shown:
i''ve a pen!
... arrr... this is the problem i always face with... how to solve that so the "\" won't display...

thank you!

Posted: Fri Aug 13, 2004 9:13 am
by Draco_03
2 link to help you out
Magic quote
Stripslash

Posted: Fri Aug 13, 2004 9:26 am
by kevin7
thank you!!