amedhussaini Posted April 27, 2008 Share Posted April 27, 2008 is this a valid practice? i'm working on my first OOP class that deals with user registration.. can i have a, for example, $sqli = new mysqli(); within the method that will "register" and insert variables into my table? I've found a few tutorials on this.. the one i'm working out of deals with procedurally connecting to the database and inserting information, but can i do it object oriented style? amed Link to comment https://forums.phpfreaks.com/topic/103176-creating-objects-within-objects/ Share on other sites More sharing options...
Jenk Posted April 28, 2008 Share Posted April 28, 2008 object orientedKind of answers the question for you.. Link to comment https://forums.phpfreaks.com/topic/103176-creating-objects-within-objects/#findComment-528780 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.