日期:2014-05-17  浏览次数:20542 次

请教各位一个PHP问题
当我运行一下代码的时候出现了:Parse error: syntax error, unexpected $end in D:\wwwlocal\library\book.php on line 89的错误,(检查不出来错了)我的代码是:
<?php session_start();?>
<html>
<head>
<title>图书馆管理系统</title>
<link href="CSS/style.css" rel="stylesheet">
</head>
<body>
<table width="778" border="0" align="center" cellpadding="0" cellspacing="0" class="tableBorder">
  <tr>
  <td>
  <?php include("navigation.php");?>
</td>
</tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
  <td valign="top" bgcolor="#FFFFFF"><table width="99%" height="510" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="tableBorder_gray">
  <tr>
  <td height="510" valign="top" style="padding:5px;"><table width="98%" border="0" cellpadding="0" cellspacing="0">
  <tr>
  <td height="22" valign="top" class="word_orange">当前位置:图书管理 &gt; 图书档案管理 &gt;&gt;&gt;</td>
  </tr>
  <tr>
  <td align="center" valign="top">
<?php
include("Conn/conn.php");
$query=mysql_query("select book.barcode,book.id as bookid,book.bookname,bt.typename,pb.pubname,bc.name from tb_bookinfo book join tb_booktype bt on book.typeid=bt.id join tb_publishing pb on book.ISBN=pb.ISBN join tb_bookcase bc on book.bookcase=bc.id");
$result=mysql_fetch_array($query);
  if($result==false){
?> 
  <table width="100%" height="30" border="0" cellpadding="0" cellspacing="0">
  <tr>
  <td height="36" align="center">暂无图书信息!</td>
  </tr>
  </table>
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
  <td>
  <a href="book_add.php">添加图书信息</a> </td>
  </tr>
</table>
 <?php
}else{
?>
 <table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
  <td width="87%">&nbsp; </td>
<td width="13%">
  <a href="book_add.php">添加图书信息</a></td>  
  </tr>
</table>  
  <table width="98%" border="1" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF" bordercolordark="#D2E3E6" bordercolorlight="#FFFFFF">
  <tr align="center" bgcolor="#e3F4F7">
  <td width="13%">条形码</td>  
  <td width="26%">图书名称</td>
  <td width="15%">图书类型</td>
  <td width="14%">出版社</td>
  <td width="12%">书架</td>
  <td width="6%">修改</td>
  <td width="5%">删除</td>