In a nutshell: $row->data is referring to an object, not an array, that has an attribute of "$data"
$row['data'] is an associative array - ie, indexes are non-numerical - with an index of "data" Martin -----Original Message----- From: Dean Householder [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 11:32 AM To: [EMAIL PROTECTED] Subject: [PHP] Dumb question on terminology Some arrays use the format: $row->data while some use: $row['data'] 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? Dean