Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <title>Delete</title>
- </head>
- <body>
- <?php
- $connection= mysqli_connect(“localhost”,”root”,””,”Disneyland”);
- $query= “SELECT nome FROM Personaggi ORDER BY nome”;
- $result= mysqli_query ($query,$connection);
- if ( mysqli_num_rows ($result) != 0)
- {
- ?>
- <form action= “delete.php” method= “GET”><br>
- Personaggio da eliminare<br>
- <select name=”personaggio”>
- <?php
- while ($row = msqli_fetch_array ($result))
- echo “<option value= \”row[0] \ “>$row[0]</option>”;
- ?>
- </select><br><br>
- <input type= “submit” value = “Elimina”>
- </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement