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
> practice using quotation marks... i.e.
> 
> print 'The cost is ' . $cost;
> NOT
> print "The cost is $cost";
> AND CERTAINLY NOT
> print ("The cost is $cost");
> 
> echo substr('abcdef', 1);
> NOT
> echo substr("abcdef", 1);
> 
> 
> I will be teaching, so a book that a student can-- before the class--
> work through and understand is good-- doesn't have to be a traditional
> textbook! But it shouldn't be a reference manual either.

Why do you think these are good/bad, as a matter of interest?

-- 
Timothy Murphy  
e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to