learning classes - need pointer
| From: | Dustin Krysak | Date: | Mon, 16 May 2005 19:16:04 +0000 |
| Subject: | learning classes - need pointer | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-215320@lists.php.net to get a copy of this message | ||
Hi there - I am slowly converting all of my projects over to a OOP based structure with classes. Now I had a quick question.
In my current case, I am trying to create all the generic SQL functions (IE insert, update, delete, etc). Now what I am wondering - what would be the best way to structure the code so that I can accommodate the possibilities for different fields and databases, etc? Is it something that I should just pass to the class? Or would there be a more efficient way to do it?
d