I've decided to release the source code for the mysql class I use on this site.
http://blog.dalegroup.net/source/mysql.phps
Feel free to leech and use. I plan on adding more to my source collection in the future.
This is only a very basic class compared to others I've seen but it works well.