Re: [PHP-WIN] Object Oriented

2003-11-15 Thread Rocco CAstoro
o CAstoro [mailto:[EMAIL PROTECTED] > Enviado el: Sábado, 15 de Noviembre de 2003 08:07 p.m. > Para: [EMAIL PROTECTED] > Asunto: [PHP-WIN] Object Oriented > > > I'm reading Sams teach yourself PHP4 in 24 Hours, printed in 2000, and It > seems to be out of date with the cur

RE: [PHP-WIN] Object Oriented

2003-11-15 Thread GaguWD
You need to include the class in the script for it to work. You are calling a class that isn't on the file. Bye! MG29 -Mensaje original- De: Rocco CAstoro [mailto:[EMAIL PROTECTED] Enviado el: Sábado, 15 de Noviembre de 2003 08:07 p.m. Para: [EMAIL PROTECTED] Asunto: [PHP-WIN] O

[PHP-WIN] Object Oriented

2003-11-15 Thread Rocco CAstoro
I'm reading Sams teach yourself PHP4 in 24 Hours, printed in 2000, and It seems to be out of date with the current versions of PHP because when i try to do the example: "; print "\$obj2 is a ".gettype($obj2).""; ?> It says Fatal error: Cannot instantiate non-existent class: first_class in C:\Prog