What are the curly brackets around variables in SQL statements for?
| From: | Dotan Cohen | Date: | Wed, 21 Jul 2010 18:59:55 +0000 |
| Subject: | What are the curly brackets around variables in SQL statements for? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-307073@lists.php.net to get a copy of this message | ||
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
--
Dotan Cohen
http://gibberish.co.il
http://what-is-what.com