Link to my project: http://www.mediafire.com/download/1ebozib6qdq2obd/Delivery4All.rar
Basically when i try to open displaymenus.php my php code doesn't get executed but my html code gets
I have xampp for windows but i don't think the problem is in the xampp but in my code
Code for displaymenus.php:
<a href="displayshops.php" class="button">hello</a>
<?php
require 'controllers/menucontroller.php';
$menuController = new menucontroller();
if(!empty($_POST['types']))
{
$menuTables = $menuController->createmenutables($_POST['types']);
}else{
$menuTables = $menuController->createmenutables('^');
}
$content = $menuController->createtypedropdown() . $menuTables;
$title = 'Deliver4All';
include_once 'template.php';
?>