In a nutshell:

$row->data is referring to an object, not an array, that has an attribute of

$row['data'] is an associative array - ie, indexes are non-numerical - with
an index of "data"


-----Original Message-----
From: Dean Householder [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 27, 2002 11:32 AM
Subject: [PHP] Dumb question on terminology

Some arrays use the format:

while some use:

What is the terminology of these types so I sound like I know what I'm
talking about.  Also, when and how do each come about?


Reply via email to