RE: [PHP] Weirdest error I've ever had....

From: Date: Wed, 09 May 2001 11:51:23 +0000
Subject: RE: [PHP] Weirdest error I've ever had....
Groups: php.general 
Request: Send a blank email to php-general+get-52085@lists.php.net to get a copy of this message
Well, <br /> is the XHTML-compliant version of <br>. In XHTML (the current W3C recommendation for web pages), you *have* to explicitly close all tags (i.e. you have to use things like </p>). Single tags - <br>, <hr>, <img>, etc - have to be closed as well, and that's how you do it. <br /> <hr width="80%" /> <img src="foo.gif" alt="foo" /> This doesn't help to explain why you're asking for one and getting the other though (sorry). Cheers Jon -----Original Message----- From: Gyozo Papp [mailto:pgerzson@freestart.hu] Sent: 09 May 2001 12:20 To: Chris Anderson; PHP Subject: Re: [PHP] Weirdest error I've ever had.... Hello Chris, <br> to <br /> this seems to me an XML-stylish tag. are you sure there is nothing else in the background? ----- Original Message ----- From: "Chris Anderson" <chrisderson@ameritech.net> To: "PHP" <php-general@lists.php.net> Sent: 2001. május 6. 18:00 Subject: [PHP] Weirdest error I've ever had.... > Alright I have a simple file writing script. Nothing special. in one > part I use this code: > $data[$x] = str_replace("<br>","\n", $data[$x]); > to replace break tags with page breaks. Problem is that for some > reason it is adding wierd <br /> tags to the file. It only does this > on that server. What is that? > > Chris Anderson aka "Null" > -------------------------------------------- > PHP Developer / Nulltech > PHP-GTK Documentation Writer / gtk.php.net > STA-DoD, TO and D-Day Administrator / dod.stronger.org, > to.stronger.org, dday.stronger.org > Zeroping Staff Member / www.zeroping.com > Volition Programmer / www.Volition-net.com > > > > -- > 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 > -- 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 ********************************************************************** 'The information included in this Email is of a confidential nature and isi ntended only for the addressee. If you are not the intended addressee, any disclosure, copying or distribution by you is prohibited and may be unlawful. Disclosure to any party other than the addressee, whether inadvertent or otherwise is not intended to waive privilege or confidentiality' **********************************************************************

« previous php.general (#52085) next »