prepare('SELECT txt FROM data WHERE idx=1'); $q->execute(); print stripslashes($q->fetchObject()->txt); } catch(PDOException $e) { print $e->getMessage(); return; } ?>