for ( $i = 0; $i < count($asd); $i++ ) {
$s = "showOrHide('cb3','cat3')";
$xx1 = (string)$asd[$i].$i;
$xx2 = (string)$asd2[$i].$i;
$xx3 = (string)$asd3[$i].$i;
echo ' <tr><td><input type="text" placeholder='.$asd[$i].' name='.$xx1.'></td>
<td><input type="text" placeholder='.$asd2[$i].' name='.$xx2.'></td>
<td><input type="text" placeholder='.$asd3[$i].' name='.$xx3.'></td>
';
echo $xx1.' '.$xx2.' '.$xx3.'<br>';
$fp = fopen('container1.txt', 'a');
fwrite($fp, $xx1." ");
$fp2 = fopen('container2.txt', 'a');
fwrite($fp2, $xx2." ");
$fp3 = fopen('container3.txt', 'a');
fwrite($fp3, $xx3." ");
$sum = $sum + (double)$asd2[$i];
$mul = $mul + (double)$asd3[$i];
}
в следующем скрипте обращаюсь echo $_POST['asd[0]'] выдает ошибку