How can I use this in a forum page? I want to display this in the header. I suppose delete the chdir lines and simply have 'global.php'?
I tried that and got this printed out on the page
Code:
= UNIX_TIMESTAMP() ORDER BY dateline_from LIMIT 10"); if (()) { echo ""; while ( = ()) { #=,false,true,false,true; = vbdate("M j, Y", ,false,true,false,true); echo " "; } //} } else { echo "
Upcoming Events
(click here for full month)
"; } echo "
Upcoming Events
No Events Upcoming Currently
"; ?>