Not sure what your development environment is like, but I find xampp (
http://www.xampp.org) indispensable for developing in
php and MySql. It runs an apache server with MySql and allows you to run either php4 or php5 (so you can match up with your actual web server.) It includes phpMyAdmin, too.
HTH