Re: More CLASS help

From: Date: Tue, 28 Feb 2006 15:20:02 +0000
Subject: Re: More CLASS help
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-231207@lists.php.net to get a copy of this message
Jason Gerfen wrote:
I am not sure if what I am doing here is a problem or not. Pointers?
pointers don't 'exist' in php (like they do in C) - oh crap, you meant 'pointers' in the general english language sense..... the question would be what are you trying to do?
class mySubnet { var $data; function SubnetSettings( $level, $add_vlan, $edit_vlan, $del_vlan ) { $subnets = new mySubnet;
as Jay B. pointed out - you probably want to be creating an object of mySubnet in code that occurs somewhere outside of the class definition
} }


« previous php.general (#231207) next »