Create all three files, input the php code into each file that is listed. Then change the database info in ALL three files.