Re: Line feed in a echo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/26/05, Andri Heryandi <andri@xxxxxxxxxxxx> 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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux