hello forums !!
i would like to know if its possible to include file in a function..ie when a filename is given as an argument then it should be able to include that..
index.php
doInclude("page1");
functions.php
doInclude($file){
return include($file.".php");
}
Will this function work ? else what s the effective function then, I would also like to make one for class files(to include it and create objects).
please Help.