Is there a simple way to write a common function for each of the CRUD (create, retreive, update, delete) operations in PHP WITHOUT using any framew
I know the way you feel.
Pork.DbObject is a simple class that you can extend your objects from. It just needs a db connection class to work.
please check out: www.schizofreend.nl/pork.dbobject/
(oh yeah, yuk @ php object generator. bloat alert! who wants to have those custom functions in every class???)