php-db | 2002122
Date: 12/16/02
- Next message: Doug Parker: "[PHP-DB] Re: approaching a relational database"
- Previous message: mike karthauser: "[PHP-DB] CMS error"
- In reply to: mike karthauser: "[PHP-DB] CMS error"
- Next in thread: John W. Holmes: "RE: [PHP-DB] CMS error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
on 16/12/02 5:15 pm, mike karthauser at mikek <email protected> 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 LtdEmail >> mikek <email protected> 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
- Next message: Doug Parker: "[PHP-DB] Re: approaching a relational database"
- Previous message: mike karthauser: "[PHP-DB] CMS error"
- In reply to: mike karthauser: "[PHP-DB] CMS error"
- Next in thread: John W. Holmes: "RE: [PHP-DB] CMS error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

