mySQL error when inserting calendar into webpage
I am getting an mySQL error saying that it cannot find ms_menu_menulinks when trying to put the calendar onto a webpage with php.
I should say that I am running a website that does a lot of the require and include statements. And the side menu where I am trying to make the calendar visible is actually part of a require statement for the actual webpage. Therefor the sidebar does not actually have a head tag in it or a body tag.
I read how to do this in the instructions and its telling me to put the following statement where I want the "mini" calendar
<?php require("calendar/calendar.php"); ?>
Note: Calendar is the directory of my calendar.php file
I have tried that and come up with that error I listed above. After I tried that, I looked and saw I had to put some code into the head tag as well. I opened my head file and inserted the code and come up with even more errors. So do I need to somehow link to the database with a script after the required code? Or am I doing something else wrong?
Thanks for any help
|