On Fri, 04 Mar 2005 14:38:20 +0000, Bruno Santos
<[EMAIL PROTECTED]> wrote:
> Hello.
> 
> How do i print a line return using the echo command, for when i see the
> page source,
> i get the code line by line and not all in the same line.
> 
> using double quotes ( " ), i can put \n at the end and i get the result
> i want,
> but, using sinle quotes ( ' ), \n doesnt work.

Maybe you could use the HEREDOC format?

echo <<<END
<table border="0" width="100%">
  <tr><td>some table stuff</td></tr>
</table>

END;

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to