+ 1

Do you have to use a ".php" file extension?

So I just finished the php course and want to use it in some of my projects but everytimw I watch tutorial they are using a file that looks like any html file but it has a ".php" file extension. Does ".html" not work for using php for something like submitting a form?

28th Sep 2018, 6:35 PM
Tyler Trout
Tyler Trout - avatar
1 Odpowiedź
+ 1
To tell the interpreter that you also use php code, you take the suffix ".php".
28th Sep 2018, 7:48 PM
'Paul
'Paul - avatar