Advertisement
Guest User

Untitled

a guest
Dec 16th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. <?php
  2. require_once("sql.php");
  3. require_once("config.php");
  4.  
  5. $sql = new Sql();
  6.  
  7. $usuarios = $sql->select("SELECT * FROM tb_usuarios");
  8.  
  9. echo json_encode($usuarios);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement