see
this thread and create a numbers table with as many numbers as the longest date range
then change the query as follows --
Code:
SELECT r.res_start + INTERVAL n DAY AS my_date
FROM reservations AS r
CROSS
JOIN numbers
WHERE r.somekey = somevalue -- THIS LINE IS IMPORTANT
AND r.res_start + INTERVAL n DAY <= r.res_end
the line marked important is where you select which reservation you want to generate the dates for
