anyone know where i can find a decent tutorial on writing a mysql class?
i've been wanting to write one for awhile .. not really sure how i should structure it
thanks 🙂
http://www.php.net/mysqli
You're better off writing a generic database class, instead of one specific to MySQL... but anyway, take a look at the pear.php.net DB class for a good example of a database class.