CMS error

From: Date: Mon, 16 Dec 2002 17:15:49 +0000
Subject: CMS error
Groups: php.db 
Request: Send a blank email to php-db+get-24180@lists.php.net to get a copy of this message
I have a field in a news CMS that could contain " Infact most of the time it does in the form of URL's etc. Getting the data initially into the database is no problem - Infact MySQL shows has no toruble with it. The problem i am getting is when i edit the data - basically loading into a form -> textarea. The data displays everything after the first " appears but in a small textarea. I have looked at addslashes() which insnt apropriate in this instance as the text area has no problem with the slashes. Is there an equivalent for " or am i worth substituting them for a character when i load them into my edit field. I can imagine this is a common probem in CMS - any suggestions on a quick fix..? cheers mikek -- Mike Karthauser Managing Director - Brightstorm Ltd Email >> mikek@brightstorm.co.uk Web >> http://www.brightstorm.co.uk Tel >> 0117 9426653 (office) 07939 252144 (mobile) Snailmail >> Unit 8, 14 King Square, Bristol BS2 8JJ

« previous php.db (#24180) next »