<?php require('../e/class/connect.php'); //引入数据库配置文件和公共函数文件 require('../e/class/db_sql.php'); //引入数据库操作文件 $link=db_connect(); //连接MYSQL $empire=new mysqlquery(); //声明数据库操作类
$title = $_POST['title']; $shenfenzheng = $_POST['shenfenzheng']; $xingbie = $_POST['xingbie']; $xueyuzn = $_POST['xueyuan']; $titlepic = $_POST['titlepic']; $ganyan = $_POST['ganyan']; $sql = "select * from {$dbtbpre}ecms_zs where title='$title' and shenfenzheng='$shenfenzheng' ";
$result = mysql_query($sql); $row = mysql_fetch_array($result); //新加内容
db_close(); //关闭MYSQL链接 $empire=null; //注消操作类变量 ?> -----
|