所有代码段为:
$con = mysql_connect("**.**.**.**" ,"tagtree","tagtree");
$table = "good";
$child_id = "nice";
$sql = "select count(1) from pn_classtag where type=\"$table\" and children_id !=\"$child_id\" and pn_num=0";
$ret = mysql_query($sql,$con);
mysql_close($con);
print_r($ret);
return $ret;
执行之后,打印:Resource id #6
需求只想求出总量,请问对 mysql_query()调用之后应如何处理
元芳怎么了
HUX布斯