mirror of
https://github.com/Fluffy-Bean/image-gallery.git
synced 2025-05-21 02:44:55 +00:00
Clean up :3
This commit is contained in:
parent
697e41e913
commit
acde68ac74
13 changed files with 85 additions and 79 deletions
8
ui/conn.php
Normal file
8
ui/conn.php
Normal file
|
@ -0,0 +1,8 @@
|
|||
<?php
|
||||
// Attempt database connection
|
||||
$conn = mysqli_connect("localhost", "uwu", "password", "swag");
|
||||
// If connecton failed, notify user
|
||||
if (!$conn) {
|
||||
echo "<p class='alert alert-low'>Could not connect to database</p>";
|
||||
}
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue