[eluser]theprodigy[/eluser]
The form_dropdown array is an assoc array. The keys of the array are the option values, the values of the array are what get shown. If you want the date to be what gets sent, you need to make the keys of the array = the date you want inserted.
Code:
function future_select()
{
$options=array();
for($i=1; $i<=$52; $i++){
$date = date("Y-m-d", strtotime('+'.$i.' Wednesday'));
$options[$date]=$date;
}
return form_dropdown('run_date',$options);
}
Something like that should work.