Re: What are the curly brackets around variables in SQL statements for?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jul 21, 2010 at 22:27, Nathan Nobbe <quickshiftin@xxxxxxxxx> wrote:
> the single quote is not part of the variable name in the example you posted
> and further more the curly braces won't be evaluated as part of a variable
> name unless the string expression is wrapped in double quotes (which probly
> also evaluates in heredocs & nowdocs).  in this case, i would say you are
> right, the curly braces seem gratuitous; again as dan suggested, read the
> docs for clarification ...
> http://us.php.net/manual/en/language.types.string.php#language.types.string.parsing

Thanks, Nathan, I _just_finished_ reading that page!



-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com

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




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux