For Programmers: Free Programming Magazines  


Home > Archive > PHP on Windows > December 2004 > About "\n"









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author About "\n"
Michael @ Skys . Com . Cn

2004-12-29, 8:56 am

Hi
=20
I'm new in php, I find the "\n" dosen't work in my machine

<HTML>
<HEAD>
<TITLE>
<?php
echo "Hello World!";
?>
</TITLE>
</HEAD>
<BODY>
<H1>
First PHP page
</H1>
<?php
echo "Hello World!";
echo "\n";
echo "Hello World!";
?>


</BODY>
</HTML>


The result is=20
First PHP page=20
Hello World! Hello World!=20

any suggestion??
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com