Reply to Re: [PHP] Line feed in a echo

Your name:

Reply:


Posted by M. Sokolewicz on 09/29/46 11:14

Ken wrote:
> On 4/26/05, Mario de Frutos Dieguez <marfru@cartif.es> wrote:
>
>>Andri Heryandi escribió:
>>
>>
>>>Use echo "something <br>";
>>>
>>>is that what you mean?
>>>
>>>
>>>Mario de Frutos Dieguez wrote:
>>>
>>>
>>>>How can i make a line feed in a echo instruction? like printf("foo\n");
>>>>
>>>
>>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.php
>>
>>
>
>
> 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.

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 ;)

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация