yes, php is better.
I edit all my .htx files in notebook (always hit save) then have WL save it as .php (put that in the box that says .htm in data upload screen)
You will get there. Patience. Time. Don't listen to the significant other telling you to stop.