Posted by Kimmo Laine on 09/07/05 20:38
"Michael G" <mike-g@montana.com> kirjoitti
viestissδ:1126108002_15849@spool6-east.superfeed.net...
> Is there something build into php where {0} or {1} means something?
>
> For example,
>
> SELECT * FROM table1 WHERE col1 = {0} AND col2 = {1};
>
curly braces do have a special meaning inside a string. see php manual
chapter on strings, especially the paragraphs about simple syntax and
complex (curly) syntax.
--
SETI @ Home - Donate your cpu's idle time to science.
Further reading at <http://setiweb.ssl.berkeley.edu/>
Kimmo Laine <eternal.erectionN0@5P4Mgmail.com>
Navigation:
[Reply to this message]
|