Reply to Re: [PHP] Newbie question: qutoes?

Your name:

Reply:


Posted by Matt Harnaga on 03/06/05 20:43

Double quotes expand variables, that is, if $a = 2, then
echo "The value is $a2";

will print "The value is 2".

Single quotes return strings literally. So, echo 'The value is $a2'
would print The value is $a2

Cheers

rory walsh wrote:

> Can anyone tell me if there is a difference between double quotes and
> single quotes? Cheers,
> Rory.
>

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация