| Subject: | Re: Disallowing HTML in textarea / comment form |
|---|---|
| From: | David Powers |
| Date: | Sat, 11 Oct 2008 16:19:02 +0100 |
| Newsgroups: | macromedia.dreamweaver.appdev |
Dev_Guy07 wrote: How can i prevent that from happening and id there anyway to save the & call the html code as plain text? Use either strip_tags() or htmlentities(): http://docs.php.net/manual/en/function.strip-tags.php http://docs.php.net/manual/en/function.htmlentities.php -- David Powers, Adobe Community Expert Author, "The Essential Guide to Dreamweaver CS3" (friends of ED) Author, "PHP Solutions" (friends of ED) http://foundationphp.com/ |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Date format returns wrong value, antares5 |
|---|---|
| Next by Date: | Re: Date format returns wrong value, David Powers |
| Previous by Thread: | Disallowing HTML in textarea / comment form, Dev_Guy07 |
| Next by Thread: | Re: Disallowing HTML in textarea / comment form, Gary White |
| Indexes: | [Date] [Thread] [Top] [All Lists] |