Re: CMS error
| From: | mike karthauser | Date: | Mon, 16 Dec 2002 17:22:14 +0000 |
| Subject: | Re: CMS error | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-24181@lists.php.net to get a copy of this message | ||
on 16/12/02 5:15 pm, mike karthauser at mikek@brightstorm.co.uk wrote:
> 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.
then you find the answer. HTMLSpecialChars(). very handy.
--
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