Re: PHP textbook suggestions?
| From: | Tijnema ! | Date: | Thu, 05 Apr 2007 22:01:46 +0000 |
| Subject: | Re: PHP textbook suggestions? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-252118@lists.php.net to get a copy of this message | ||
On 4/5/07, Zoltán Németh <znemeth@alterationx.hu> 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 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); there is no difference between the above two echo statements. I'm almost sure that there is absolutely zero difference between the two kind of quotes when there are no variables involved greets Zoltán NémethI prefer using double quotes (" ") around strings, because i don't have to escape single quotes (' ') in words like I'm, don't, etc. Tijnema
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. c -- Chris Lott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php