ID:               11742
 Comment by:       asif at bandxusa dot com
 Reported By:      cheapsalsa at yahoo dot com
 Status:           Bogus
 Bug Type:         Output Control
 Operating System: Red Hat Linux 7.0 Standard
 PHP Version:      4.0.6
 New Comment:

Try using the stripslashes function before placing the value back into
the form...It should take care of your issue.

You're probably using mysql_escape_string...the stripslashes shoudl
take care of it.


Previous Comments:
------------------------------------------------------------------------

[2001-06-27 11:42:38] [EMAIL PROTECTED]

submitted twice.


------------------------------------------------------------------------

[2001-06-27 11:12:20] cheapsalsa at yahoo dot com

I have created a news program for my website using PHP
4.0.6.  When I need to edit the news, the program rewrites
the whole news file, whether a news story got edited or not.
 Sometimes I have to include quotes like ' or ".  The first
time I post the news they look like \' \" (with one
backslash).  After I edited the news a couple of times it
can get out of hand, and the quotes look like \\\\\\\\\\\\'
or \\\\\\\\\\\\" . This looks really bad.

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=11742&edit=1

Reply via email to