Re: Wow, this is weird

tamouse mailing lists <[email protected]>
Newsgroups gmane.comp.php.database
Message-ID <CAHUC_t8hHOXoyf9QxhtGmfXSuG=nhPu-4U7o4g8n+Ndib5WdhQ@mail.gmail.com>
On Mon, Sep 3, 2012 at 7:58 PM, David McGlone <[email protected]> wrote:
> Why was the brackets necessary? I thought that was what the single quotes
> were for. I'm thinking the brackets join ['image'] and ['name'] otherwise the
> query views it as 2 seperate queries. Correct? or were the brackets use to
> group it all together, but seperate it from the outer quotes?

Reading through this should help:

http://us.php.net/manual/en/language.types.string.php#language.types.string.parsing


The part to pay attention to most is the section entitled "Complex
(curly) syntax".

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.