Re: "\n" in PHP
From: Mudge (mark1822_at_hotmail.com)
Date: 07/12/04
- Next message: Mudge: "XML references"
- Previous message: Chung Leong: "Re: XML over CSS"
- In reply to: bonehead: "Re: "\n" in PHP"
- Next in thread: marathon: "Re: "\n" in PHP"
- Reply: marathon: "Re: "\n" in PHP"
- Reply: Jeffrey Silverman: "Re: "\n" in PHP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 12 Jul 2004 05:13:49 GMT
bonehead wrote:
> Mudge wrote:
>
>> Why does the book put the "\n"s in there?
>
> I happen to be working through this book right now also. I've noticed,
> at least in the early chapters, that it's basically just a matter of
> style. The newline characters are not always necessary, but sometimes
> they do make the html output a little more readable as other posters
> have already pointed out. If you're curious, write one of the example
> scripts, get it to run, and then go back and remove the newline
> characters and see the difference.
>
> Personally the chapter I found most useful was Chapter 11. The examples
> of session logins and cookie setting are very useful.
>
> BTW, as with many Wrox books, this one appears to have lots of genuine
> errors, many of which are just editorial typos but which nevertheless
> affect whether the code will run or not. They really need to post an
> errata page for this book, but in the meanwhile, take a look through the
> P2P Forum for this book just to get an idea, and keep the link
> bookmarked because you'll need it:
>
> http://p2p.wrox.com/forum.asp?FORUM_ID=120
Thanks bonehead. Do you by any chance recommend any other books on PHP or
CSS or XML?
- Next message: Mudge: "XML references"
- Previous message: Chung Leong: "Re: XML over CSS"
- In reply to: bonehead: "Re: "\n" in PHP"
- Next in thread: marathon: "Re: "\n" in PHP"
- Reply: marathon: "Re: "\n" in PHP"
- Reply: Jeffrey Silverman: "Re: "\n" in PHP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]