prepare('SELECT name FROM users WHERE id = :user_id;'); // to be replaced with optional user name off the user data table $result = $statement->execute(array('user_id' => $_SESSION['user_id'])); $dbentry = $statement->fetch(); $username = $dbentry['name']; ?> ThreadR

ThreadR