0 votes
51 views
asked in PHP by (1.4k points)
Hi all

         What is basic difference between the PHP & HTML?

1 Answer

0 votes
answered by (3.1k points)

The filetype is just a way to identify the file, you can't always trust them.

Depending on your web server configuration, you will see different results.

.html is generally use just for html with no serverside code.

.php is used for serverside php code and html if required.

They can be used for anything, it just depends on the setup.

Categories

...