Advertisement
Guest User

Untitled

a guest
May 17th, 2015
270
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. public function select(){
  2. $sth = $this->$pdo->prepare("SELECT id_prato, titulo, descricao, preco FROM prato");
  3. $sth->execute();
  4. $result = $sth->fetchAll();
  5. return $result;
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement