// error_reporting(0); //turns off error reporting for this page $id = 3; $db = new PDO('sqlite:database/lpoa.sqlite'); $sql = "SELECT * FROM pages_table where id = '$id'"; $result = $db->query($sql); $rowarray = $result->fetchall(PDO::FETCH_ASSOC); ?>