I want to allow people on my site to post html inks in the text box where they submit their articles. Here is the code for the text box:

<td width="75%" align="left" class="heading">
						 <textarea cols=75 name=article_summary rows=25 class=textarea style="overflow:hidden;"><?=$_POST["article_summary"];?></textarea>
						</td>
						</tr>
						<tr> 
							<td colspan=2 bgcolor=white></td>
						</tr>
						<tr> 
							<td colspan=2 class="bodylinks" align=center>
							<input type=submit name=submitarticle value="Submit Article">
						</form>
							</td>
						</tr>
						<tr>

Can someone tell me what I've done wrong?

<textarea value="<?php echo $_POST["article_summary"] ?>"></textarea>

Maybe something along the lines of this? Although I'm not sure that will work

edit: yeah, that definately doesn't work...


... text areas don't allow their content to be formatted differently. So I really don't know if it is possible to display a link like http://daniweb.com in a text area.

You could take the user input and create the link in a different html element though... It depends what you want exactly