Okay. Dimwit that I am, this seems to do the job:
$query = 'SELECT * FROM talks WHERE id=:id;';
$stmt = $db->prepare($query);
$stmt->bindValue(':id', $id);
$stmt->execute();
$result = $stmt->fetch();
$address = $result['address'];
$num_views = $result['num_views'];
I'm not a number, I'm a...