I have a .php file, and a .html file.
Within a button click, I give a:href as registration.php. But the html is in new-registration.html.
I don’t know how to link them? Like ASP.NET we write inherits, but what do I write in this? I want to see the html page.
I know it is really stupid but I don’t know any PHP.
Basically, is there any form or page inheritance concept in PHP?
ASP.Net is a framework, rather than simply independent pages, as is the case with PHP.
PHP doesn’t has any standard framework of template inheriting.
Some frameworks you should try which supports inheriting templates and better MVC approaches:
Codeigniter (With some alterations)
Zend Framework
Symphony Framework and etc