Re: Help with associative array in a PHP class. Not working as I'd
| From: | Justin Patrin | Date: | Thu, 11 Dec 2003 03:02:41 +0000 |
| Subject: | Re: Help with associative array in a PHP class. Not working as I'd | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-172427@lists.php.net to get a copy of this message | ||
Justin Patrin wrote:
class kismetap {
function kismetap() {
$this->$myPacket = array('blah' => 'asdfasdfasdf');
}
}
That should be
$this->myPacket = ...
--
paperCrane <Justin Patrin>