I'm having trouble wrapping my head around something I'm trying to
Basically I'm trying to build a reservations system. I have my form
populating the reservations table with the information I need, but
also upon creating a new reservation I need it to also populate a
bookingstatus table. What I'm trying to figure out right now is how
to create the code in the controller to take my checkindate and
checkoutdate and create entries in the bookingstatus table for those
dates and each date in between. I know it'll be a loop of some sort,
but I'm new to all this and can't wrap my head around it.
Any guidance on what this controller code will look like?