Re: Wow, this is weird
| From: | tamouse mailing lists | Date: | Tue, 04 Sep 2012 02:38:51 +0000 |
| Subject: | Re: Wow, this is weird | ||
| References: | 1 2 3 4 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-48460@lists.php.net to get a copy of this message | ||
On Mon, Sep 3, 2012 at 7:58 PM, David McGlone <david@dmcentral.net> 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".