What is the basic use of PHP if we have HTML and its higher versions?
Basic use of Php is to generate Html pages using templates and data... where Html would require to write lot of static pages to store lot of data, Php was designed to handle them dynamically, storing them separatly ^^
PHP is server side. HTML is markup and runs on your browser. Two different languages doing two different things. HTML can be easily be viewed by the end user but PHP can't.