Re: HTML tags in database fields
| From: | Michael J. Seely | Date: | Wed, 11 Jul 2001 19:19:56 +0000 |
| Subject: | Re: HTML tags in database fields | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-57476@lists.php.net to get a copy of this message | ||
HI
I know this isn't elegant but it will work. Just put in extra close tags after the field input. </I></I></B></B></FONT> etc. Browsers will ignore the extra close tags.
Hello. I wrote a comments application that allows the use of some HTML tags for text formatting (<i><b>). I ran into a problem of users not closing the tags (</i></b>), so when I display a page with all the comments, if the user did not close the <b> tag then all the text in the other comments is bold. Is there a solution to this? -- ************************************ Ivan R. Quintero E.* (507)228-3477 Aptdo 1263 * (507)228-9105 Balboa, Ancon * 612-1103 Republic of Panama * ************************************ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net-- _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ Michael Seely 408-777-9949