• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

MySQLi Extended Class

Joined
Jun 2, 2012
Messages
765
Reaction score
294
Currently building a MySQLi Extended Class in PHP.

GitHub


Features
- Prepared Statements
-- Insert - Complete
-- Select - Not started, trying to work how to do it.
-- Update - Complete
-- Delete - Complete

Feedback
- This would be appreciated.
 
Last edited:
Joined
Apr 28, 2005
Messages
6,953
Reaction score
2,420
Just a question, why aren't you putting the connect in __construct and the disconnect in __destruct? Makes more sense to have this handled automatically. I mean, the connection is closed regardless of calling mysql_close, just an observation.
 
Joined
Jun 2, 2012
Messages
765
Reaction score
294
Yea i know, it's only like that because when i was building query builder, i kept getting connection errors, when i wasn't even intending of a connection.

I will be changing it sometime later today.
 
Back
Top