@ $db=mysql_pconnect("localhost", "dfguser","password");
mysql_select_db("signup") ;
$result=mysql_query("select * from count where id = '94'");
$row=mysql_fetch_array($result);
$a=$row["num"];
$a+=1;
//echo " 浏览量:".$a." ";
$query = "update count set num=$a where id='94'";
$result=mysql_query($query);
mysql_close();
echo "浏览量:".$a." ";
?>
|