CMS error

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

 



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


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


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

  Powered by Linux