Hi,
I have one text box and one submit button.What I want is ,if I enter value in text box and press submit one by one that will echo on the form .

Member Avatar

diafol

Where on the form. You only have one textbox. So you want the value you entered to stay in the textbox??

No.I have following html and in the text box if I enter say "subrata" and submit, then "jack straw" and submit and so on then output will be "subrata","jack straw" and so on on form.

<table width="600" border="1" align="center">
<form name="frm" action="<?php $_SERVER?>" method="post">
<tr>
<td>&nbsp;</td>
<td width="10px">&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>Enter Name </td>
<td>&nbsp;</td>
<td><input type="text" name="txtname" /></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td><input type="submit" name="Submit" value="Submit" /></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</form>
</table>

I think now the question is clear.Thanks