On Wed, Oct 28, 2009 at 10:39 AM, Jean Lee <versus100@xxxxxxxxx> wrote: > I want to use Textarea as the text-file viewer and editor of my homepage. > But Textarea doesn't work exactly as i intended. > In sometimes, TextArea doesn't show up > and moreover the some parts of the file are displayed(rendered) in browser > without TextArea! > > > > It sounds like you are not escaping the value that appears inside the textarea tags. <textarea name="mytextarea"><?php echo htmlspecialchars($text_content); ?></textarea> Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php