Thank you again, Wilmar.

As a newbie for OOP, I will keep my option open when I design this
application.  I have not come to a conclusion which way is better than
another (I wish I had time to test all possibilities).  I appreciate your
comments, and will keep them in mind.



----- Original Message -----
From: "Wilmar Perez" <[EMAIL PROTECTED]>
Sent: Wednesday, October 09, 2002 12:10 AM
Subject: Re: [PHP-DB] access DB via PHP classes

> Well, what about building a basic class without any database conection in
> constructor and then have a inherited class with the needed database
> conection? and then use whichever you need to generate the pages.
> You can even just have  the basic class and execute some code in the
> constructor that connects or not to the database depending on a parameter
> pass to it.
> As I told you before, I'm very newbie to OOP as well, but think that may
> well.
> Hope it helps
> Bye
> *******************************************************
>                          Wilmar Pérez
>                      Network Administrator
>                        Library System
>                       Tel: ++57(4)2105145
>                     University of Antioquia
>                        Medellín - Colombia
>                               2002
> *******************************************************
> --
> PHP Database Mailing List (
> To unsubscribe, visit:

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to