hi i am new to PHP and i need to post the array text input box value to one form to another back and fro how can i do this here i have attached th code what i have tried
CODE
<table width="200" border="0" align="center">
<tr>
<td width="93"><div align="center" class="totval">Serial Number</div></td>
<td width="91"><div align="center" class="totval">name</div></td>
</tr>
<tr>
<td colspan="2">
<? for($i=0;$i<10;$i++)
{?>
<table width="40%" border="0" align="center" bordercolor="#C8E2F1">
<tr bordercolor="#C8E2F1">
<td bordercolor="#C8E2F1" width="34%"><input type="text" name="test1[]" id="test1[]" value="<?= $i?>" ></td>
<td bordercolor="#C8E2F1" width="66%"><input type="text" name="test2[]" id="test2[]" value="<?= $test2[$i]?>"></td>
</tr>
</table>
<? }?>
<input type="hidden" name="test2[]" id="test2[]" value="<?= $test2?>"/>
and in second form i used the following to retrive
$testing = $_post['test2']
when i echo the above statement it is displaying simply as ARRAY not the numbers or the things i entered
so kindly suggest me a solution