Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $server = "localhost";
- $user = "root";
- $password = "";
- $db = "auta";
- $conn = new mysqli ($server, $user, $password,$db);
- $sql = "delete from wlasciciel where imie='Piotr'";
- $result = $conn->query($sql);
- if ($result->num_rows > 0) {
- while($row = $result->fetch_assoc()) {
- echo "Powiodło się";
- }
- }
- $conn->close();
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement