Re: interesting
| From: | John W. Holmes | Date: | Tue, 25 May 2004 20:03:11 +0000 |
| Subject: | Re: interesting | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-186943@lists.php.net to get a copy of this message | ||
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...