how can i post the value of this dynamic textbox to php script
<p>i make a dynamic textbox through javascript now i want to post the data of all dynamically generated textboxes to php script and then insert into a table.
how can i do this...</p>

<pre><code>
&lt;head>
&lt;title>Dynamic Form&lt/title>
&lt;script language="javascript">
function changeIt()
{
var i = 1;
my_div.innerHTML = my_div.innerHTML +"&ltbr>&lt;input type='text' name='mytext'+ i>"
}
&lt;/script>
&lt;/head&gt;
&lt;body&gt;
&lt;form name="form" action="post" method="">
&lt;input type="button" value="add another textbox" onClick="changeIt()">
&lt;div id="my_div">
&lt;input type="submit" value="save">
&lt/body></code></pre>
