Steve
At 06:57 AM 10/13/2003, you wrote:
Wang Feng wrote:The page source shows: ************************************ <html><body></body></html> ************************************
The problem might be right here --------------+ (closing html tag) |<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> ******************************************
Simple:
<?php echo ("this is the simplest, an SGML processing instruction "); echo "This spans multiple lines. The newlines will be output as well"; echo "This spans multiple lines. The newlines will be output as well."; ?> In html you cannot use newlines for formating, use <br> if you need newline. You can use <pre> tag for preformated text however.
> > 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
-- This message has been scanned for viruses and dangerous content by the MailScanner at ow4, and is believed to be clean.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php