Re: Classes Question

From: Date: Mon, 12 Nov 2001 10:25:08 +0000
Subject: Re: Classes Question
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-74250@lists.php.net to get a copy of this message
I did have a look in the manual, but I got lost half way through! I always think it's a good idea to describe the problem well :) Thanks, Paul "Andreas Landmark" <andreas.landmark@noxtension.com> wrote in message news:20011111191533.B25481@noxtension.com... > On Sun, Nov 11, 2001 at 06:09:40PM -0000, PaulC wrote: > > I'm hoping somebody has the answer to this! > > > > I have 3 pages, one a normal PHP page, and 2 which are classes. > > > > One class, is a MySQL class I have written to connect/update users, etc > > And the other is the manage users on the system. > > > > Is there a way I can get the "users" class to talk to the "mysql" > > class? > > > > Inheritance, let the users class inherit the functions of the mysql > class, that's the nicest and probably the best way to do it. > > Read up on OO in the manual to find out how to do inheritance in PHP. > > <removed a pretty good description of the problem> > > -- > Andreas D Landmark / noXtension > Every solution breeds new problems.

« previous php.general (#74250) next »