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

Your name:

Reply:


Posted by Ken on 10/30/13 11:14

On 4/26/05, Andri Heryandi <andri@unikom.ac.id> 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

[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

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