You can use any text editor to make php files, just save it with a .php extension. However to get this to work in notepad you'll have to type in "test.php" in the filename box otherwise it'll save it as test.php.txt
Also you require a web server to work with PHP. The most common one is apache (what rsbandb uses). PHP is server side so you can't open it in your browser and have the code work.
You can get a package with Apache, MySQL, and PHP at:
http://www.wampserver.com/en/ WAMP stands for Windows Apache MySql, Php.
Shane