I have a booking script installed on my server and it says to include the small calendar in your website to use php include.
My code is
<div class="calendarcontainer">
<?php include (http://www.jetnightclub.com/booking/calendar.php); ?>
</div>
And nothing happens. When I go direct to the page it is there so the server is reading the php... not sure why it won't puck ut up.
Warning : The link is NSFW it is a website for a nightclub. If that is a problem please do not open it.
You forgot the quotes here. Refer to the PHP manual
this is the fix :
<div class="calendarcontainer">
<?php include ("http://www.jetnightclub.com/booking/calendar.php"); ?>
</div>
Change in your php.ini file on your hosting server.
allow_url_include=On
Then restart web server. Then you can use the code like this:
<div class="calendarcontainer">
<?php include ("http://www.jetnightclub.com/booking/calendar.php"); ?>
</div>