Hello, i have it running now. For complete the thread, write here the code with it run. <?php require_once "inc/common.php"; $blogid = ((!empty($_GET['blogid'])) ? $_GET['blogid'] : '' ); try { $sql = "SELECT blogid, content FROM `bloggen` WHERE id=".(int)$blogid; $result = $DB->query($sql); foreach ($result as $var) { echo $var['content']; } $DB = null; } catch (PDOException $e) { echo "Fehler: " . $e->getMessage(); exit (); } ?> Regards Silvio -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php