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? Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.