dreamwest Posted November 21, 2008 Share Posted November 21, 2008 how can i include pages within {if else} scripts i cant see how i can include: virtual('/templates/nav.php'); into <?php if (isset($_COOKIE['visual_nav'])) echo ""; else echo "included page here"; ?> Quote Link to comment https://forums.phpfreaks.com/topic/133722-include-pages-within-if-else-scripts/ Share on other sites More sharing options...
Mark Baker Posted November 21, 2008 Share Posted November 21, 2008 how can i include pages within {if else} scripts <?php if (!isset($_COOKIE['visual_nav'])) { include ('/templates/nav.php'); } ?> Quote Link to comment https://forums.phpfreaks.com/topic/133722-include-pages-within-if-else-scripts/#findComment-695889 Share on other sites More sharing options...
dreamwest Posted November 21, 2008 Author Share Posted November 21, 2008 thanks Quote Link to comment https://forums.phpfreaks.com/topic/133722-include-pages-within-if-else-scripts/#findComment-695897 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.