MODEL:It is a class file which contains the Database connectivity queries inside it.
CONTROLLER:This file access the methods and variables declared.
VIEW:It contains all the html and view page.
In Controller create a file named "hello.php". This file will be saved in the Controller folder.
Create a file index.php and place inside views folder.
Now run the file in any browser: http://localhost/mvc/hello/index