Advertisement
Guest User

Untitled

a guest
Nov 17th, 2018
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. $stmtUTP = $db->prepare("SELECT `id`, `title` FROM table WHERE data = 'vm' ORDER BY id DESC LIMIT :start, :max");
  2. $stmtUTP->bindValue(':start', $startVEP, PDO::PARAM_INT);
  3. $stmtUTP->bindValue(':max', $maximoVEP, PDO::PARAM_INT);
  4. $stmtUTP->execute();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement