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