I have a MySQL database table called "booking" and fileds called "arrival" and "diparture".
arrival | diparture |
---|---|
2022-03-22 | 2022-03-23 |
now I want to check whether a random date is present within these two dates(date in the database). I want it to be done in PHP.
I don't know the easy way to do it.