|
Posted by Jason Petersen on 03/04/05 16:46
On Fri, 04 Mar 2005 14:38:20 +0000, Bruno Santos
<bvsantos@hal.min-saude.pt> 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;
Navigation:
[Reply to this message]
|