Re: interesting
| From: | Daniel Clark | Date: | Tue, 25 May 2004 20:19:34 +0000 |
| Subject: | Re: interesting | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-186946@lists.php.net to get a copy of this message | ||
What does the { } around the array mean?
>>From: "Bob Lockie" <bjlockie@lockie.ca>
>>
>>> echo "\"" . $search_for_list[$i][0] . "\"" works but
>>> echo "\"$search_for_list[$i][0]\"" prints "Array[0].
>>
>>$search_for_list[$i] is an 'Array' which is followed by the string '[0]'
>>...
>>how is PHP supposed to know you mean
>>$search_for_list[$i][0]?
>>
>>echo "\"{$search_for_list[$i][0]}\""; will work, btw.
>>
>>---John Holmes...