From 5789e56d671b23f3d75749845fac749051e0a102 Mon Sep 17 00:00:00 2001 From: Francisco Pessano Date: Fri, 9 Jul 2021 22:52:53 -0300 Subject: [PATCH] Configurada la conexion a base de datos y empezadas las consultas para extraer informacion --- index.php | 17 +++++++++++++++-- mySQLconnect.php | 7 +++++++ style.css | 6 ++++-- 3 files changed, 26 insertions(+), 4 deletions(-) create mode 100644 mySQLconnect.php diff --git a/index.php b/index.php index 6eeb113..8ae5d9a 100644 --- a/index.php +++ b/index.php @@ -1,5 +1,5 @@ - + @@ -10,7 +10,20 @@

AllNews.com

-
+ + +
+ query('select * from noticias;')-> fetchAll(); + + print_r($selection); + + ?> +
+ diff --git a/mySQLconnect.php b/mySQLconnect.php new file mode 100644 index 0000000..f7d652c --- /dev/null +++ b/mySQLconnect.php @@ -0,0 +1,7 @@ + getMessage(); +} \ No newline at end of file diff --git a/style.css b/style.css index 135ab00..6730f95 100644 --- a/style.css +++ b/style.css @@ -12,6 +12,8 @@ header { padding-bottom: 4vh; display: flex; justify-content: center; - background-color: #00000020; + background-color: #00000050; color: white; -} \ No newline at end of file + user-select: none; +} +