Advertisement
Guest User

Untitled

a guest
Nov 20th, 2019
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. $query = $this->connect()->prepare('SELECT * FROM peliculas WHERE posicion = :posicion');
  2. $query->execute(["posicion" => $posicion]);
  3. return $query->fetchAll(PDO::FETCH_OBJ);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement