I have to show a page from my php script based on certain conditions. I have an if condition and am doing an \"include\" if the condition is satisfied.
if(co
Your question is not very clear, but if you want to include the php file (add the source of that page to yours), you just have to do following :
if(condition){ $someVar=someValue; include "myFile.php"; }
As long as the variable is named $someVar in the myFile.php