$conn=mysql_connect("localhost","root","");
mysql_select_db("luntan",$conn);
mysql_query("set names utf-8");
$sql="select count(boardid) from `bbs_content` where `boardid`=='$boardid'";
$re=mysql_query($sql);
echo $re;
这个语句没错误,但是为什么没有输出结果,求大神解答。THANKYOU
mysql_select_db("luntan",$conn);
mysql_query("set names utf-8");
$sql="select count(boardid) from `bbs_content` where `boardid`=='$boardid'";
$re=mysql_query($sql);
echo $re;
这个语句没错误,但是为什么没有输出结果,求大神解答。THANKYOU