Just to clarify, do you mean that you're building a page that displays what the user is writing in the textarea?
If so, then javascript might be the best option. Perhaps something like the following...
Code:
<head>
<script language="javascript">
function displayContents(contents)
{
document.getElementById('contentsBox').innerHTML=contents;
}
</script>
</head>
<body>
<textarea onkeyup="displayContents(this.value)"></textarea>
<div id="contentsBox"></div>
</body>
I haven't tested it, and it could probably be done better, but at least it'll give you a starting point.
Bookmarks