[PHP] Line feed in a echo
How can i make a line feed in a echo instruction? like printf(foo\n); -- 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
Re: [PHP] Line feed in a echo
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); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Line feed in a echo
Like echo foo\n -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Line feed in a echo
On 4/26/05, Andri Heryandi [EMAIL PROTECTED] wrote: 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); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php you can do it by using echo as well: echo This is a line feed\n; or a carriage return echo this is a carriage return\r; check out http://www.php.net/strings Hope this helps -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Line feed in a echo
On 4/26/05, Ken [EMAIL PROTECTED] wrote: On 4/26/05, Andri Heryandi [EMAIL PROTECTED] wrote: 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); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php you can do it by using echo as well: echo This is a line feed\n; or a carriage return echo this is a carriage return\r; check out http://www.php.net/strings Hope this helps i meant this URI: http://se2.php.net/manual/en/language.types.string.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Line feed in a echo
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
Re: [PHP] Line feed in a echo
On 4/26/05, Mario de Frutos Dieguez [EMAIL PROTECTED] 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. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Line feed in a echo
Ken wrote: On 4/26/05, Mario de Frutos Dieguez [EMAIL PROTECTED] 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 ;) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php