Re: Line feed in a echo
| From: | Ken | Date: | Tue, 26 Apr 2005 09:48:33 +0000 |
| Subject: | Re: Line feed in a echo | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-213888@lists.php.net to get a copy of this message | ||
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