for example my first query is:
Expand|Select|Wrap|Line Numbers
- <?
- $query = "(SELECT spacenummer FROM res WHERE arrival BETWEEN '$var_from' AND '$var_to' OR departure BETWEEN '$var_from' and '$var_to';)";
- ?>
and the second query is
Expand|Select|Wrap|Line Numbers
- $query1 = "(SELECT spacenummer FROM spaces;)";
The table res lists all booked spaces and dates.
I would like to find out if in the given date range a space is available then to show it in an output and/or give either a yes or no.
Thanks in advance