mysql求和函数使用示例_MySQL
程序员文章站
2022-05-25 14:06:33
...
bitsCN.com
$sql="SELECT SUM(prise) sum from buylist where mid = '1'";
$ress=mysql_query($sql);
echo $rowxiaofei=mysql_fetch_assoc($ress);
bitsCN.com
$sql="SELECT SUM(prise) sum from buylist where mid = '1'";
$ress=mysql_query($sql);
echo $rowxiaofei=mysql_fetch_assoc($ress);
bitsCN.com