View Single Post
Old 09-30-2008, 01:10 PM   #4 (permalink)
tego10122
The Contributor
 
tego10122's Avatar
 
Join Date: Sep 2008
Location: Miami
Posts: 39
Thanks: 7
tego10122 is on a distinguished road
Default

what about if its a php form like below and the input field is $_POST['comment']
Code:
<hr><br>Post a comment<br>
	<form method=\"post\" action=\"members.php?id=$user[username]&comments=post\">
	<div style=\"background-color:grey\"><input type=\"button\" value=\"i\"><input name=\"underline\" onclick=\"var element=document.getElementsByName('underline')[0];

	element.onclick(function(){
    document.getElementsByName('$comment_box')[0].innerHTML+='<u> </u>';
	});\"type=\"button\" value=\"u\"><input type=\"button\" value=\"b\" ><input type=\"button\" value=\"img\"><a href=\"#\" onclick=\"smilie(':)'); return false;\" value=\"link\">Link</a></div>
	<textarea id=\"comment\" name=\"comment\" cols='47' rows='10'></textarea></br>
	<input style=\"align:right\" type=\"submit\" value=\"Post\" name=\"reply\">
Send a message via MSN to tego10122
tego10122 is offline  
Reply With Quote