$res = mysqli_query($bd, "SELECT * FROM corzina ");
while($row = mysqli_fetch_array($res)) {
echo $row['cent'];
echo "₽";
}
$res = mysqli_query($bd, "SELECT SUM(cent) FROM corzina ");
while($row = mysqli_fetch_array($res)) {
echo $row['cent'];
echo "₽";
}
Владею: Html, Css, Php, bd msql, сложные запросы SQLРили???
var_dump($row)
.