This is also a good place to check out the many new products in 5.0.0. See what works for you, and check the API documentation for things you may want to use or change.

share|improve this answer
I've been digging through the API docs, that's how I know the stuff is there, but I'm just not sure how to connect to it. Any tips on that? –  Chris Marisic May 11 '09 at 22:33
Just a simple connect statement: $obj = new mysqli('localhost','user','password','databaseName'); –  Kelsey May 12 '09 at 2:24

As for your last question: if you don't need the database all the time, then just turn the connection off when you don't need it. You can always check if the connection is established. If it's not (mysqli_connect_errno();) you can just reconnect the server.


share|improve this answer
i'm actually confused by your answer, i don't think I mentioned that i didn't need the database, you just assumed that. I need it for everything. –  Chris Marisic Apr 10 '09 at 21:23
What does it have to do with