Initial commit
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
$conn = new mysqli("localhost", "root", "");
|
||||
if ($conn->connect_error) {
|
||||
die("Connection failed: " . $conn->connect_error);
|
||||
}
|
||||
|
||||
if ($conn->query("DROP DATABASE IF EXISTS webgis_unified") === TRUE) {
|
||||
echo "Database dropped successfully<br>";
|
||||
} else {
|
||||
echo "Error dropping database: " . $conn->error . "<br>";
|
||||
}
|
||||
|
||||
$conn->close();
|
||||
?>
|
||||
Reference in New Issue
Block a user