RE: [PHP] More CLASS help
| From: | jblanchard at onecallcom dot com | Date: | Tue, 28 Feb 2006 14:55:30 +0000 |
| Subject: | RE: [PHP] More CLASS help | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-231204@lists.php.net to get a copy of this message | ||
[snip]
I am not sure if what I am doing here is a problem or not. Pointers?
class mySubnet
{
var $data;
function SubnetSettings( $level, $add_vlan, $edit_vlan, $del_vlan ) {
}
}
[/snip]
Call the constructor outside of the class.
$subnets = new mySubnet;