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 14:59, Dotan Cohen <dotancohen@xxxxxxxxx> wrote:
> Take for example:
> INSERT INTO table ( field ) VALUES ('{$variable}' )
>
> Why the curly brackets? Where in the fine manual is this addressed? I
> started from [1] but did not find the relevant info.
>
> [1] http://il2.php.net/manual/en/book.mysql.php

    That's just basic variable parsing on the PHP side, it's not
MySQL-specific.  Check out the "variable parsing" heading at
http://php.net/string .

-- 
</Daniel P. Brown>
UNADVERTISED DEDICATED SERVER SPECIALS
SAME-DAY SETUP
Just ask me what we're offering today!
daniel.brown@xxxxxxxxxxxx || danbrown@xxxxxxx
http://www.parasane.net/ || http://www.pilotpig.net/

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