oh im a dummie but i wonder if anyone can help me:
form page goes:
$i = 1;
WHILE ($i < 16) {
PRINT "<tr><td>$i</td><td><input type=text name=service[] size=40></td><td><input type=text name=grounds[]></td><td><input type=text name=sum[]></td></tr>";
$i++;
}
and recieving page:
$i = 0;
$num = 1;
WHILE ($i < 15) {
$sum = $sum[$i];
if ($sum != "") {
$service = $service[$i];
$grounds = $grounds[$i];
PRINT "<tr><td>$num</td><td>$service</td><td>$grounds</td><td>$sum</td></tr>";
}
$i++;
$num++;
}
why doesnt other inserted values (except the first one) come along?
its a shame to ask, but its even more shame to live without knowing the answer.
thanks in advance