链接到我的项目: http://www.mediafire.com/download/1ebozib6qdq2obd/Delivery4All.rar
基本上当我尝试打开displaymenus.php时,我的php代码没有被执行但是我的html代码被
我有windows的xampp,但我不认为问题出在xampp中但是在我的代码中
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';
?>