Logica y conexion con la base de datos hecha

This commit is contained in:
2021-05-20 22:08:31 -03:00
parent 9b934b2c95
commit 9b8a533548
7 changed files with 75 additions and 2 deletions

9
logic/sql/connection.php Normal file
View File

@@ -0,0 +1,9 @@
<?php
try {
$connect = new PDO('mysql:host=localhost;dbname=formulariologin1', 'root', '');
} catch(PDOexception $e) {
echo "Error: " . $e -> getMessage();
}
?>