learning classes - need pointer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux