i am going to give you a little thingy on how to use php in windows using ('zend framework') and xampp.I used dreamweaver(personaly i prefer dreamweaver but you may use even a notepad to write php code) .
I am first going to show you the connection detail to MySQl..
This is the common used connection script for any php::
mysql_connection("hostname","username","password");
after establising conection::use the following code to select your required database:
mysql_select_db('databasename');
These two step is the commonly used steps to establish and manipulate mysql server.
Remember to save your file in xampp directory (usually c:/ drive) in any computer.