I am working in mysql database, and I have a table called bookings in that two columns named start_date and end_date And I get a date value from my php script
Can anybody tell me how can I check that date is in between those start_date and end_date
I have tried this:
mysql_query("SELECT * FROM `tbl_booking` WHERE '$date' between Start_date AND end_date");