Re: Line feed in a echo
| From: | Ken | Date: | Tue, 26 Apr 2005 09:49:28 +0000 |
| Subject: | Re: Line feed in a echo | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-213889@lists.php.net to get a copy of this message | ||
On 4/26/05, Ken <kenkam@gmail.com> wrote:
> 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
>
i meant this URI:
http://se2.php.net/manual/en/language.types.string.php