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émeth

> 
> 
> 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

Reply via email to