You have to test PHP file in a browser.
Install WAMP server, put your PHP file in www directory of WAMP server. Now typr http://localhost/yourfilename.php in address bar and you will see result.
Please email me, if you have ant questions about WAMP server or need more info.
Jan 9, 2013