i'm not sure if you want to "code in multi line, display in single line" or
"code in single line, display in multi line"

here gives an example:


<?php
echo "123";
echo "456";
echo "789";
?>
This will give:
123456789


another example:
<?php
echo "abc" . "\n" . "def" . "\n" . "xyz";
?>
This will give :
abc
def
xyz


another one:
<?php 
echo "abc\ndef\nxyz";
?>
this also gives the same as above


hope this helps

-- 

- Eddy Wong
__________________________
inframatrix internet solutions
http://www.inframatrix.com/


       ??Eddy
Regular Octa-Eddy
???????
???????
??????? ??: [EMAIL PROTECTED]
??????? ??: news://news.fixip.net/chat.ed
??????? ???: news://news.fixip.net/
???????
???????

"Alvaro Rosales R." <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> Hi guys,I am new to PHP and I am writing my first scripts, so maybe this question 
> is a kinda stupid, but it is driving me crazy,  can you tell me How can I set a line 
> break in longs line of my code?.
> thanks in advance!

Reply via email to