Started by Laur, September 12, 2013, 01:39:46 PM
0 Members and 1 Guest are viewing this topic.
Quote from: Laur on October 04, 2013, 04:19:50 PMNot realy, just eager to learn more stuff
Quote from: elephant on October 03, 2013, 10:23:34 PMIt is better than the mysql extension and gaining more popularity than mysqli, but before you invest the time working on it - do you really need a database independent interface?
$id = $_POST['id'];;$stmt = $conn->prepare('SELECT * FROM clients WHERE id = ?');$stmt->execute(array($id));$rows = $stmt->fetchAll(PDO::FETCH_ASSOC);print_r($rows);