Is this possible.. calling a php file in a page? example.. view.php -it has php, html and js script in it. index.php - calling some functions inside view.php is this possible?
You want to call a function which is in some other php file? you can use include function for accessing the subfunctions in other php files.
How are you trying to call it? If you use include , you can include the whole page - otherwise if you use handlers and functions , you can call functions by name - whichever ones you want from a a mass list.
through calling a function you can call it or you should inherit/include the property of that page.I think these things only work and you don't need further information.