newline problem

From: Date: Thu, 25 Jul 2002 04:11:46 +0000
Subject: newline problem
Groups: php.general 
Request: Send a blank email to php-general+get-109411@lists.php.net to get a copy of this message
Dear all,
    this sounds like a silly problem but i really dunno how to fix it!
    In the php manual on php.net said we can use an embedded newline just by writing the string on different line by pressing "enter" key. This doesn't work for me. Another thing is \n also work. For example:
<?php echo ' You can also have embedded newlines in strings, like this way.'; echo 'I am trying to include at this point: \n a newline'; ?> the output i get is: "You can also have embedded newlines in strings, like this way.I am trying to include at this point: \n a newline" Am I doing anything wrong? Thanks! Ser Yee _________________________________________________________________ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com

« previous php.general (#109411) next »