You Use a tool : phpmyadmin...
Integration of PHP to Manage My SQL Db...
go to http://freshmeat.net
In the Search, type : "phpmyadmin"
Download the soft, untar, follow the install instruction...
You can now connect your DB to view how it work !
Some Stuff, you can debug the PHP(3) sources to see how it work !!!