Page 1 of 1

putting HTML in mysql

Posted: Sat May 20, 2006 12:18 pm
by GeXus
Is there a way to put HTML into mysql, without it placing shashes before quotes.. i just want it to go in exactly as it is..

Thanks!

Posted: Sat May 20, 2006 1:15 pm
by Benjamin

Code: Select all

mysql_real_escape_string($HTML);

Posted: Sun May 21, 2006 4:16 am
by dibyendrah
mysql_escape_strings also prepends the backslashes to the special character while inserting the records in mysql. isn't that so ?

Dibyendra
agtlewis wrote:

Code: Select all

mysql_real_escape_string($HTML);