stripslashes/addslashes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have an entry from an <input type="text"> box that I'm using addslashes 
to enable it to be entered into the MySQL database
All good, it works fine.

When I draw that data, and add it to the same input box, for editing, on a 
content management system I'm workign on, the "  marks interfere with the 
" marks from the input tag
I end up with this:

<input type="text" value="his reply was "it's a great day" to the 
question">

so the  " marks are interfering with the value attribute...

how can I get round this?

Cheers,
Tris...

***********************************************************************
The information contained in this e-mail message is intended only for 
the personal and confidential use of the recipient(s) named above.  
If the reader of this message is not the intended recipient or an agent
responsible for delivering it to the intended recipient, you are hereby 
notified that you have received this document in error and that any
review, dissemination, distribution, or copying of this message is 
strictly prohibited. If you have received this communication in error, 
please notify us immediately by e-mail, and delete the original message.
************************************************************************


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux