Never had to tackle this one before. I'm trying to allow the user to make multiple selections in a date list box. The list box displays the numeric days in the month. Pretty simple stuff.
The offical scooty I can find on this is to do something like :
$theDays = $_POST['lboxDay'];
// get the data from the list box named "lboxDay" on the previous form.
$expDays = explode (",", $theDays);
This explodes the post data into an array of all the days selected in the list box, which are supposed to be delimited with a comma (the HTML standard). So, I should then be able to see those days with something like :
echo "<br />Day 0 = $expDays[0]";
echo "<br />Day 1 = $expDays[1]";
echo "<br />Day 2 = $expDays[2]";
.
.
.
Problem is, the array $expDays only contains the last day selected in the list box. 😕