Created
February 12, 2018 22:55
-
-
Save parzibyte/499b8ce9eeab028e668e34d0a02b32f0 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 "base_de_datos.php"; | |
$sentencia = $base_de_datos->query("SELECT * FROM personas;"); | |
$personas = $sentencia->fetchAll(PDO::FETCH_OBJ); | |
print_r($personas); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment