Re: Line feed in a echo
| From: | M. Sokolewicz | Date: | Tue, 26 Apr 2005 12:02:26 +0000 |
| Subject: | Re: Line feed in a echo | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-213900@lists.php.net to get a copy of this message | ||
Ken wrote:
On 4/26/05, Mario de Frutos Dieguez <marfru@cartif.es> wrote:Remember that the internal closing of a tag is something that is an add-on to SGML, and part of XML. Since HTML is derived from SGML, and not XML it doesn't have that ability natively; as for XHTML, which is based on both, it's possible to use it; and advised obviously ;)Andri Heryandi escribió:in that case i suggest using <br /> instead as that is valid xhtml 1.0. that would depend on the DTD header you provide. If you provide an HTML =< 4.01 line, then <br /> is syntactically incorrect. However, when using XHTML 1.0+ or XML, it's correct.Use echo "something <br>"; is that what you mean? Mario de Frutos Dieguez wrote:yes that's it thx -- Mario de Frutos Dieguez División de Ingeniería del Software y Comunicaciones CARTIF -Parque Tecnológico Boecillo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.phpHow can i make a line feed in a echo instruction? like printf("foo\n");