Re: [PHP] working with class inheritance

2007-03-20 Thread Richard Lynch
On Tue, March 20, 2007 3:42 am, Jeff Taylor wrote: > Hey all, got a slight problem, where for some reasons my variables > dont seem > to be getting stored in the child class: > > e.g > > class Parent > { > $private type; Either you meant private $type; or I'd be shocked if this even got as far a

Re: [PHP] working with class inheritance

2007-03-20 Thread Jeff Taylor
Thanks everyone, Gave me a much better understanding of it "Jim Lucas" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Jim Lucas wrote: > > Jeff Taylor wrote: > >> Hey all, got a slight problem, where for some reasons my variables > >> dont seem > >> to be getting stored in the chil

Re: [PHP] working with class inheritance

2007-03-20 Thread Jim Lucas
Jim Lucas wrote: Jeff Taylor wrote: Hey all, got a slight problem, where for some reasons my variables dont seem to be getting stored in the child class: e.g class Parent At least in PHP 5.2.1 on windows xp (for testing only), the class name Parent is a reserved class name, you cannot define

Re: [PHP] working with class inheritance

2007-03-20 Thread Jim Lucas
Jeff Taylor wrote: Hey all, got a slight problem, where for some reasons my variables dont seem to be getting stored in the child class: e.g class Parent At least in PHP 5.2.1 on windows xp (for testing only), the class name Parent is a reserved class name, you cannot define a class by that na