25.11.2012, 09:29
Nice class Your should try to protect your queries from SQL injection though. Also, it's a bad idea to make the script die for every single error, even small ones. Instead try sending an error message or an exception.