Created
August 8, 2019 00:14
-
-
Save parzibyte/d6560c0ae9ac0c6d3d8bf2cb5287a720 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
include_once __DIR__ . "/base_de_datos.php"; #Al incluir este script, podemos usar $baseDeDatos | |
$resultado = $baseDeDatos->query("SELECT * FROM videojuegos;"); | |
$videojuegos = $resultado->fetchAll(PDO::FETCH_OBJ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment