Using -> to access hash elements

From: Date: Fri, 13 Dec 2002 19:43:49 +0000
Subject: Using -> to access hash elements
Groups: php.general 
Request: Send a blank email to php-general+get-128242@lists.php.net to get a copy of this message
Can someone shed some light on the '->' syntax seen below. Is this like similar to Perl '=>' syntax to access hash key value pairs? Thank you one and all. [snip] // print mailing list while($data = mysql_fetch_object($result)){ print($data->name . ", " . $data->address . ", " . $data->city . ", " . $data->state . ", " . $data->zip . "\n"); } [/snip]

« previous php.general (#128242) next »