Re: [PHP] PHP textbook suggestions?

2007-04-11 Thread Chris Lott
On 4/10/07, Richard Lynch [EMAIL PROTECTED] wrote: print 'The cost is ' . $cost; NOT print The cost is $cost; AND CERTAINLY NOT print (The cost is $cost); echo The cost is , $cost; If you're going to be this picky, you'd better write your own textbook... :-) Perhaps instead of a

Re: [PHP] PHP textbook suggestions?

2007-04-11 Thread Richard Lynch
On Tue, April 10, 2007 9:40 pm, Robert Cummings wrote: echo The cost is , $cost; -1 Improper use of double quotes when nothing interpolated. Yeah, I used to believe in that Urban Legend, and even promulgated it, once upon a time. Then Rasmus set me straight that it's not really any

Re: [PHP] PHP textbook suggestions?

2007-04-11 Thread Robert Cummings
On Wed, 2007-04-11 at 22:47 -0500, Richard Lynch wrote: On Tue, April 10, 2007 9:40 pm, Robert Cummings wrote: echo The cost is , $cost; -1 Improper use of double quotes when nothing interpolated. Yeah, I used to believe in that Urban Legend, and even promulgated it, once upon a time.

Re: [PHP] PHP textbook suggestions?

2007-04-11 Thread Richard Lynch
On Wed, April 11, 2007 2:09 pm, Chris Lott wrote: On 4/10/07, Richard Lynch [EMAIL PROTECTED] wrote: print 'The cost is ' . $cost; NOT print The cost is $cost; AND CERTAINLY NOT print (The cost is $cost); echo The cost is , $cost; If you're going to be this picky, you'd better write

Re: [PHP] PHP textbook suggestions?

2007-04-10 Thread Richard Lynch
On Thu, April 5, 2007 3:52 pm, Chris Lott wrote: Looking for suggestions for a PHP textbook for an Intro to Web Programming class that will be using PHP5 and MySQL. This is a first-semester course, so no programming experience required. It would be nice to have a text that adhered to (what I

Re: [PHP] PHP textbook suggestions?

2007-04-10 Thread Richard Lynch
On Thu, April 5, 2007 7:29 pm, itoctopus wrote: I beg to differ with everyone who said there's no difference between the single quote and double quote. Although the double quote is much more flexible, the single quote is better, as there will be no evaluation of the string for potential

Re: [PHP] PHP textbook suggestions?

2007-04-10 Thread Robert Cummings
On Tue, 2007-04-10 at 21:19 -0500, Richard Lynch wrote: On Thu, April 5, 2007 3:52 pm, Chris Lott wrote: Looking for suggestions for a PHP textbook for an Intro to Web Programming class that will be using PHP5 and MySQL. This is a first-semester course, so no programming experience

Re: [PHP] PHP textbook suggestions?

2007-04-07 Thread Larry E. Ullman
I'd still like some actual recommendations for a good book for beginners. My PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide has already been mentioned by someone and gets good reviews. If you want something more basic, I wrote PHP for the World Wide Web: Visual QuickStart

Re: [PHP] PHP textbook suggestions?

2007-04-06 Thread Zoltán Németh
2007. 04. 5, csütörtök keltezéssel 20.29-kor itoctopus ezt írta: I beg to differ with everyone who said there's no difference between the single quote and double quote. Although the double quote is much more flexible, the single quote is better, as there will be no evaluation of the string for

[PHP] PHP textbook suggestions?

2007-04-06 Thread Danial Rahmanzadeh
I think PHP Architect's Zend PHP5 certification Study guide is good. as authors indicate in the book: We wrote php|architect's Zend PHP 5 Certification Study Guide with the specific intent of making it useful in two situations: • For candidates who are preparing for the Zend exam • For student

Re: [PHP] PHP textbook suggestions?

2007-04-06 Thread Jochem Maas
Danial Rahmanzadeh wrote: I think PHP Architect's Zend PHP5 certification Study guide is good. as authors indicate in the book: We wrote php|architect's Zend PHP 5 Certification Study Guide with the specific intent of making it useful in two situations: • For candidates who are preparing

Re: [PHP] PHP textbook suggestions?

2007-04-06 Thread Chris Lott
I'd still like some actual recommendations for a good book for beginners. I think this discussion is getting a little ridiculous... I have my preferences for a textbook based on 5 years of experience in teaching this class. Of course I teach my students about superfluous parentheses as in:

Re: [PHP] PHP textbook suggestions?

2007-04-06 Thread Chris Lott
I see a couple of recommendations for textbooks now... thanks. As to why I think one style is good or bad-- probably the same reasons any of you prefer yours + in my experience, the style that I have adopted is the easiest for the beginners to understand and not be confused by. This list

RE: [PHP] PHP textbook suggestions?

2007-04-06 Thread Jay Blanchard
[snip] I see a couple of recommendations for textbooks now... thanks. [/snip] One of the problems is trying to find a textbook for beginning programmers, then adding the specifics of PHP on top of it. The best that I can think of would be PHP for Dummies as it assumes no prior programming

Re: [PHP] PHP textbook suggestions?

2007-04-06 Thread Jochem Maas
Chris Lott wrote: I'd still like some actual recommendations for a good book for beginners. I think this discussion is getting a little ridiculous... I have my preferences for a textbook based on 5 years of experience in teaching this class. Of course I teach my students about superfluous

Re: [PHP] PHP textbook suggestions?

2007-04-05 Thread Zoltán Németh
2007. 04. 5, csütörtök keltezéssel 12.52-kor Chris Lott ezt írta: Looking for suggestions for a PHP textbook for an Intro to Web Programming class that will be using PHP5 and MySQL. This is a first-semester course, so no programming experience required. It would be nice to have a text that

[PHP] PHP textbook suggestions?

2007-04-05 Thread Chris Lott
Looking for suggestions for a PHP textbook for an Intro to Web Programming class that will be using PHP5 and MySQL. This is a first-semester course, so no programming experience required. It would be nice to have a text that adhered to (what I see as) good practice using quotation marks... i.e.

Re: [PHP] PHP textbook suggestions?

2007-04-05 Thread Tijnema !
On 4/5/07, Zoltán Németh [EMAIL PROTECTED] wrote: 2007. 04. 5, csütörtök keltezéssel 12.52-kor Chris Lott ezt írta: Looking for suggestions for a PHP textbook for an Intro to Web Programming class that will be using PHP5 and MySQL. This is a first-semester course, so no programming experience

Re: [PHP] PHP textbook suggestions?

2007-04-05 Thread itoctopus
I beg to differ with everyone who said there's no difference between the single quote and double quote. Although the double quote is much more flexible, the single quote is better, as there will be no evaluation of the string for potential variables inside the string. And Chris, about the book,

Re: [PHP] PHP textbook suggestions?

2007-04-05 Thread Jochem Maas
Chris Lott wrote: Looking for suggestions for a PHP textbook for an Intro to Web Programming class that will be using PHP5 and MySQL. This is a first-semester course, so no programming experience required. It would be nice to have a text that adhered to (what I see as) good every that