Page 1 of 1

PHP Form & mqSQL Problem

Posted: Fri Apr 14, 2006 8:02 pm
by presyce
I got a PHP form that submits a selected column list

Code: Select all

from my mySQL table. When I submit it, to preview.php, tha

Code: Select all

which is HTML code is changed to fit PHP by changing all of the " to \" and it completely makes the code useless to me..

heres the link. http://mslayouts.net/index.php?page=layouts/rap

Ive made the preview page display the code in a text box to show you what is going on.

How do I get rid of the backslash?

Posted: Fri Apr 14, 2006 8:14 pm
by feyd
Since you didn't ask a question, I'll divine it: "How do I get rid of the backslashes?"

Answer: stripslashes() but you should check get_magic_quotes_gpc() first before using it.