left.php
资源名称:minierp.rar [点击查看]
上传用户:yantgcom
上传日期:2013-07-19
资源大小:478k
文件大小:1k
源码类别:
MySQL数据库
开发平台:
PHP
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <link rel="StyleSheet" href="../inc/dtree.css" type="text/css" />
- <script type="text/javascript" src="../inc/dtree.js"></script>
- </head>
- <body>
- <div class="dtree">
- <script type="text/javascript">
- <!--
- d = new dTree('d');
- d.add(0,-1,'浜у搧璧勬枡','list.php','','mainFrame');
- //-->
- <?php
- include ("../inc/db.php");
- include ("../inc/phpmkrfn.php");
- $conn = phpmkr_db_connect(HOST, USER, PASS, DB, PORT);
- $sSql = "SELECT * FROM pleibie ";
- $rs = phpmkr_query($sSql,$conn) or die("Failed to execute query: " . phpmkr_error() . '<br>SQL: ' . $sSql);
- /* 缂╄繘*/
- while ($row = mysql_fetch_array($rs, MYSQL_ASSOC)) {
- //echo('<li>'.$row[PLB02].':'.$row[PLB01].'</li>');
- echo "d.add($row[PLB03],$row[PLB04],'$row[PLB02]','list.php?LEI=$row[PLB01]','','mainFrame');n";
- }
- ?>
- <!--
- document.write(d);
- //-->
- </script>
- </div>
- </body>
- </html>