A couple possible reasons :

1. Mixing \n and <br>

\n won't create a newline within your browser but rather it will within
your html source code.  Meaning, look at your html source and notice the
newlines.  

2. Using single quotes 

echo '\n'; will literally print '\n', in otherwords, it won't be
evaluated.  Odds are this is not your problem but oh well.  "\n" will
expand into a newline.

Perhaps this faq will help too :

  http://www.faqts.com/knowledge_base/view.phtml/aid/901

Also, have a look at the nl2br() function.  Regarding the above faq, if
anyone can make it more "understandable" feel free.

Regards,
Philip


On Wed, 1 Aug 2001 [EMAIL PROTECTED] wrote:

> Hi, somebody know why the character newline \n doesn't work? .  I am using
> the combination W2K/Apache/PHP4.  I tried the newline character on print
> and echo functions but still not working.
> Maybe is a stupid cuestion but I need it.
> 
> Thanks in advanced.
> 
> 
> Atte. Ignacio Estrada F.
> Centro Nacional de Control de Energia
> Area de Control Occidental
> 025+6463, 025+6464, 025+6469
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to