hi all,
I have multiple text boxes and i want to get all the text box values in a single string using post method.it has been done but the problem is that “Array” this word is coming at the very beginning when i am doing concatenation with “#”.
Here is my code:
//if the form is being submitted
[LEFT]if(isset($_POST[“submit1”]))
{
foreach($
{
$name .= “#”. $value ;
}
echo $name;
}
//the form part
<form action=”” method=”post” name=”frm”>
<?
for($i=1;$i<=$5;$i++)
{
?>
<tr>
<td width=”24%”>Name
<?=$i;?>
:</td>
<td width=”76%”>
<input maxlength=60 name=”name[]” size=25>
</td>
</tr>
<? } ?>
<input name=”submit1″ type=”submit” value=”Proceed” class=”button”>
</form>[/LEFT]