Hello Glenn,

Tuesday, January 13, 2004, 7:36:18 AM, you wrote:

GY> I know that "$object = new classname;" will automatically run
$object->>classname();. But is it neccessary for every class to have this
GY> function? I read all these scripts and they all have them. I made one
GY> simple database class but it failed horribly, and I'm curious to if the
GY> initiated functions have anything to do with them.

It's called the constructor and no, you don't always have to have one.

-- 
Best regards,
 Richard                            mailto:[EMAIL PROTECTED]

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

Reply via email to