SomeFunkyDude Posted March 9, 2009 Share Posted March 9, 2009 I want to have a class, that creates table entries. E.G. createService.class.php this file will create new services, so I need to insert the result into a DB My question.. do I build the sql query inside this class, or a separate DB class? Link to comment https://forums.phpfreaks.com/topic/148685-how-do-i-separate-db-classes-from-classes-that-create-objects/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.