a guest Jan 25th, 2016 185 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- $pdo = new PDO('mysql:host=localhost;dbname=something', something, something);
- $data = $pdo->query("SELECT * FROM news ORDER BY id DESC LIMIT 10");
RAW Paste Data