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 Quote Link to comment 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.. Quote Link to comment 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.