To change it to php, there is an option in the Form Builder dialogue box - at the same place it asks you what method to use, it will specify the page. Somehow, your page extension got switched from php to html... you just need to get that fixed and then you should be on your way.