
May 18th, 2000, 11:03 PM
|
|
Junior Member
|
|
Join Date: May 2000
Posts: 3
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Hi im trying to take the arrays day and band
into the (if month) script and then loop through arrays and echo each varible in both arrays.
In the manual each() and list()leave me really confused.
thanks in advance.
<input type="hidden" name="day[]><br> <input type="text" name="band[]"><br>
<input type="hidden" name="day[]><br> <input type="text" name="band[]"><br>
<input type="hidden" name="day[]><br> <input type="text" name="band[]"><br>
<input type="submit" name="makemonth">
if ($makemonth) {
while (list ($day, $band) = each ($HTTP_POST_VARS)) {
echo $day;
echo $band;
}
}
|