Jump to content

Reservation application problem


BloodyMind

Recommended Posts

i don't know how the dates are in the database but if they are mysql dates or unix time stamps you could do this

SELECT * FROM `bikes` WHERE `start_date` <= $current_time AND `end` <= $current_time

this will only work if the bike has been checkout and returned though if the bike is new and not been reserved it won't show up.

 

SCott.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.