Ok, weird glitch…
I have this form that pulls information from a db (datetime column) which it uses strtotime() and date to convert the dates into individual pieces.
Anyway, so for the hour, I am using date(‘g’… and it seems to be pulling the data correctly upon print_r of the array, however it won’t select the proper option in the dropdown box…but only for 8 and 9.
1-12 all work except 8 and 9. This leads me to believe there’s something wrong with my dropdown and such, but 8 and 9 look exactly like the rest of the numbers.
I know that was kind of vague, but does anyone have any clue what might be going on?
The times are stored properly in the database.
Thanks for any help ?