when to use index.php instead of index.html
You will have to choose the PHP extension (.php) when you want php code to be executed in the file. PHP code is code between the opening <?php or <? and the closing ?> tags. When no PHP code should be executed you can use the .html extension. Usually when using the .php extension you … Read more