Reply to Re: newline "\n" not working.

Your name:

Reply:


Posted by Jerry Stuckle on 05/14/06 22:35

huckphin wrote:
> All you need to do is statement separator (the period (.)). Then put
> your code in two statements such as this.
>
> Line #5 is [echo "$conn\n";]
> Line #5 needs to be corrected to [echo $conn."\n";]
>
> LIne #7 is [echo "This spans\nmultiple lines. The newlines will
> be\noutput as well."; ]
> Line #7 needs to be
> [echo "This spans"."\n"."multiple lines. The newlines will
> be"."\n"."output as wee.";]
>
> -Huck Finn
>

Sorry, Huck. It will all come out in one line. Try it yourself in an HTML page.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация