Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $servername = "xxxx";
- $username = "xxxx";
- $password = "xxxx";
- $dbname = "aroslavv";
- // Create connection
- $conn = mysqli_connect($servername, $username, $password, $dbname);
- // Check connection
- if (!$conn) {
- die("Connection failed: " . mysqli_connect_error());
- }
- echo "Połączono";
- $sql_qry="SELECT gracz FROM wplaty";
- $duration = $connection->query($sql_qry);
- while($record = $duration->fetch_array()){
- $total = $record['gracz'];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement