[PHP] PHP Another time around

2003-04-04 Thread Jay Fitzgerald
I'm getting close to what I want...I currently have this code which loops through all of the next 24 hours: SELECT NAME=futhour ? for($i = 0; $i = 24; $i++): $futhour = strtotime(+$i hour); echo 'OPTION VALUE='. date('H',$futhour) .''. date('g a',$futhour).'/OPTION'; endfor; ?

Re: [PHP] PHP Another time around

2003-04-04 Thread CPT John W. Holmes
I'm getting close to what I want...I currently have this code which loops through all of the next 24 hours: SELECT NAME=futhour ? for($i = 0; $i = 24; $i++): $futhour = strtotime(+$i hour); echo 'OPTION VALUE='. date('H',$futhour) .''. date('g a',$futhour).'/OPTION';