- 论坛徽章:
- 0
|
本帖最后由 中国可爱小牛 于 2010-05-27 18:27 编辑
这是how_left.php的文件,作用是显示导航栏
注:下面的Js代码不必理会这是detail_show.php 结果只是显示导航栏,没有下面想要输出的内容.....- <?php
- require("../global_client.php");
- require("../client_header.html");
- $id=$_GET['id'];
- $sql="select * from sort_detail where id=".$id;
- $res=mysql_fetch_array(mysql_query($sql));
- ?>
- <table width="81%" align="center" border="1">
- <tr>
- <td width="20%" align="left" valign="top" bgcolor=""><!--左侧一列是菜单栏-->
- <?php require("./how_left.php"); ?> <!--结果只是显示导航栏,没有下面想要输出的内容,但如果把这一行删去,内容就可以正常显示,请问这是为什么呢?-->
-
- </td>
- <td valign="top"><br /><!--这一列是子分类内容-->
- <table width="100%">
- <tr>
- <td align="center"><?php echo $res['detail_name']; ?>
- </td>
- </tr>
- <tr >
- <td ><br><?php echo $res['detail']; ?>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
复制代码 疑惑中,请您不吝指点~ |
|