楼主听话,快到碗里来
$@帅帅的嘟嘟嘟 [TICKET]=mysql_connect(“localhost”,“root”,“root”);
mysql_select_db(“吧名”,$@帅帅的嘟嘟嘟 [TICKET]);
$sql=“select * from 贴名”;
$a=mysql_query($sql,$@帅帅的嘟嘟嘟 [TICKET]);
$row=mysql_num_rows($a);
$col=mysql_num_fields($a);
$@帅帅的嘟嘟嘟 [TICKET]=mysql_connect(“localhost”,“root”,“root”);
mysql_select_db(“吧名”,$@帅帅的嘟嘟嘟 [TICKET]);
$sql=“select * from 贴名”;
$a=mysql_query($sql,$@帅帅的嘟嘟嘟 [TICKET]);
$row=mysql_num_rows($a);
$col=mysql_num_fields($a);