mirror of
https://github.com/FranP-code/Login-Form.git
synced 2025-10-12 23:52:47 +00:00
Logica y conexion con la base de datos hecha
This commit is contained in:
9
logic/sql/connection.php
Normal file
9
logic/sql/connection.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
try {
|
||||
$connect = new PDO('mysql:host=localhost;dbname=formulariologin1', 'root', '');
|
||||
} catch(PDOexception $e) {
|
||||
echo "Error: " . $e -> getMessage();
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user