Solved a part of this. The nl2br (which I am using) converts "\n" to XHTML compliancy <br />. I'm still trying to replicate the other.
-- Gaylen [EMAIL PROTECTED] Home http://www.gaylenandmargie.com/ PHP KISGB v3.1 Guest Book http://www.gaylenandmargie.com/phpwebsite/ "Gaylen Fraley" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Those are real examples. The /> gets appended when I use preg_replace > and/or str_replace, as far as I can determine. And it's not every time. > I'll try to replicate it. I've been working with code to strip it out and I > need to get back to point zero. If I can get the code back, I will post it. > > -- > Gaylen > [EMAIL PROTECTED] > Home http://www.gaylenandmargie.com/ > PHP KISGB v3.1 Guest Book http://www.gaylenandmargie.com/phpwebsite/ > > "James Cox" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > can you give an example? > > > > eg, <br /> is XHTML correct, however </a> /> isn't correct at all :) > > > > Thanks, > > > > James Cox > > -- > > James Cox :: [EMAIL PROTECTED] > > Please CC me when replying to my messages on lists. > > Was I helpful? > http://www.amazon.co.uk/exec/obidos/wishlist/23IVGHQ61RJGO/ > > > > > -----Original Message----- > > > From: Gaylen Fraley [mailto:[EMAIL PROTECTED]] > > > Sent: Friday, January 18, 2002 10:49 PM > > > To: [EMAIL PROTECTED] > > > Subject: [PHP] Mysterious /> > > > > > > > > > For some (yet) unknown reason, when some text is being entered > > > into a form, > > > a mysterious /> is being appended. It's almost as if some XML > > > functionality > > > is bein added w/o my intention. For example, I might echo "<br>" and > the > > > html source will show <br />. I might have an end anchor tag </a> that > > > comes out </a> />. > > > > > > Any clues? > > > > > > -- > > > Gaylen > > > [EMAIL PROTECTED] > > > Home http://www.gaylenandmargie.com/ > > > PHP KISGB v3.1 Guest Book http://www.gaylenandmargie.com/phpwebsite/ > > > > > > > > > > > > > > > -- > > > PHP General Mailing List (http://www.php.net/) > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > > > > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]