I have to agree. PHP was, not completely justified, mostly fixed at SQL.
Thus, the easiest way of accomplishing your task will be to start off by downloading the MySQL engine from www.mysql.com
Next (assuming your PHP configuration works right), you should work your way through devshed's PHP/MySQL tutorial (location of the printer-friendly version: www.devshed.com/Server_Side/PHP/Introduction/print.html).
Good luck,
A fellow MySQL starter