------------------
Time --- Result
- - - - - -
11am - Yes
13pm - No
17pm - Yes
-------------------
Time --- Result
- - - - - -
11am - Yes
13pm - No
17pm - Yes
-------------------
I have a php script that when a user searches for 11am they get that line.
That's easy right?
But what If the user doesn't know the exact time? I want to create a php/mysql script that If a user searches for 12pm they get 11pm and 13pm, as those are the record above and the record bellow what the user searched.
Can this be done? How?
Thanks ;)