Re[2]: [PHP] elementary question about reading an array ...
| From: | Richard Davey | Date: | Thu, 01 Apr 2004 16:43:09 +0000 |
| Subject: | Re[2]: [PHP] elementary question about reading an array ... | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-182035@lists.php.net to get a copy of this message | ||
Hello Kenn,
Thursday, April 1, 2004, 5:38:37 PM, you wrote:
>>Array ( [0] => bc Object ( [fullname] => Kent Huffman [industry] =>
KM> That's what I thought at first, but that's not working ... in fact, I
KM> just copied and pasted both your snippets, and neither of them worked
KM> here .... odd, isn't it?
KM> What the heck am I doing wrong here ?
Nothing.. the array appears to contain an Object (called bc).
Try this to see if it'll show more details:
var_dump($arrayname);
and wrap it in <pre> tags or something, so the formatting makes sense!
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html