> I currently have this in my php file: > > <? > for($i = 0; $i <= 13; $i++): > $airday = strtotime("+$i day"); > echo '<INPUT TYPE="checkbox" NAME="airdate" VALUE="'. date('Y-m- > d',$airday) > .'">'. date('l, F j',$airday).'<BR>'; > endfor; > ?> > > which produces this output in a loop for the dates of the next 2 weeks: > > <INPUT TYPE="checkbox" NAME="airdate" VALUE="2003-04-11">Friday, April > 11<BR> You need to make these elements an array, otherwise only one checked item will come through. <INPUT TYPE="checkbox" NAME="airdate[]" VALUE="2003-04-11">Friday, April 11<BR> Notice the [] tacked onto the name. Now, when you check some boxes and submit the form, do a print_r($_REQUEST['airdate']) to see what you have to work with. ---John Holmes... -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php