mysql求和函数使用示例_MySQL
程序员文章站
2024-01-23 08:48:10
...
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