> They do work but you will not see that in the rendered html page (in a
> browser). Have a look at the source of the produced page and you will see
> the linebreaks.

 The page source shows:

************************************
<html><body></body></html>
************************************

> I suppose your manual was not intending on making html pages, or it was a
> very lousy one.

I do want to just make a html page.

The following is my source code, and what I expect is to see the new lines
when the \n appears, ok?

*****************************************
<html>
<head><title>Hello World Program</title></html>
<body>
<?php
 echo ("this is the simplest, an SGML processing instruction\n");
 echo "This spans
 multiple lines. The newlines will be
 output as well";
 echo "This spans\nmultiple lines. The newlines will be\noutput as well.";

?>
</body>
</html>
******************************************

So, what's the problem here?


cheers,

feng

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

Reply via email to