PHP解析错误:语法错误,意外'内容' (T_STRING),期待','或';'在第16行的MYFILE中

时间:2017-01-13 23:51:37

标签: php

PHP解析错误:语法错误,意外'内容' (T_STRING),期待','或';'在/ MYFILE /第16行

我的代码

    <?php
session_start();
global $module, $id; 
require_once '../includes/connection.php';
include('xcrud/xcrud.php');
$module = $_GET["module"]; 
$id = $_GET["id"];
include "xcrud/modules/$module.php";
if((!isset ($_SESSION['user']) == true) and (!isset ($_SESSION['password']) == true)){
    unset($_SESSION['user']);
    unset($_SESSION['password']);
    header('location:index.php');
} else {
    echo "<!DOCTYPE html>
    <html lang='en'>
        <head>";
            include 'theme/head.html';  
        echo "</head>
        <body>";
        include 'theme/bodya.html';
        include "modules/$module.php";
        include 'theme/bodyb.html'; 
            echo "</body>
    </html>";
}
?>

0 个答案:

没有答案