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
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
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.
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
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
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
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
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
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
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
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
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:
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
[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
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
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
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.
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
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,
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
20 matches
Mail list logo