RE: [PHP] Dumb question on terminology

From: Date: Wed, 27 Feb 2002 00:48:18 +0000
Subject: RE: [PHP] Dumb question on terminology
Groups: php.general 
Request: Send a blank email to php-general+get-86348@lists.php.net to get a copy of this message
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:dean@adoption.com] Sent: Wednesday, February 27, 2002 11:32 AM To: php-general@lists.php.net 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

« previous php.general (#86348) next »