Configurada la conexion a base de datos y empezadas las consultas para extraer informacion

This commit is contained in:
2021-07-09 22:52:53 -03:00
parent bfc3bcf646
commit 5789e56d67
3 changed files with 26 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en">
<html lang="es">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
@@ -10,7 +10,20 @@
<body>
<header>
<h1>AllNews.com</h1>
</header>
</header>
<div class="article-container">
<?php
require 'mySQLconnect.php';
$selection = $mySQLconnect -> query('select * from noticias;')-> fetchAll();
print_r($selection);
?>
</div>
</body>
</html>