This is a class I wrote a bit while ago, works great 🙂
http://pavel.ath.cx:81/~paul/class_mysql.phps
Debug shows all queries you used, how many and how long it took, errors are also in details.
Any comments?
function select_db($database) { if(empty($database)) $database = $this->db_databse;
should be: function select_db($database) {
if(empty($database)) $database = $this->db_datab[b]a[/b]se;
Thx moon, nice catch 🙂