I’m new to php and includes. I’m building a large ebook for some friends and will need to update the menu at times.
I’ve built a mega menu using a menu from css3 menus and I’m building the site in expression Web 4. I’ve read tutorials and tried everything but still can’t get it to work. I’m sure it’s me, I just can’t seem to understand how to make everything come together.
I save the menu as menu.php in a folder. I then make a template page and name it temp.php. I was told to add this code to the temp.php page to test it and nothing happens.
<?php include($DOCUMENT_ROOT . "/incudedfiles/menu.php"); ?>Would someone please tell me what I’m doing wrong and how I need to do this?
Thanks in avance