RE: More CLASS help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[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; 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux