Hello. The question may be banal but I have not yet found a solution. I select from the database what I need:
$sql = "SELECT * FROM `members`"; $result = $db->query($sql); while($row = mysqli_fetch_array($result)) { $balans = $row['balans']; $email = $row['email']; $username =$row['username']; echo "Баланс: $row[balans]. Юзер: $row[username]. Почта: $row[email].<br>"; } But still it would be desirable to sum up we admit balance and users and to bring out echo.
SELECT COUNT(*) FROM `members`"; As a question to implement and whether it is permissible on one page several $ sql queries in this case. thank