Page 1 of 1

help with a reservation system

Posted: Mon Jan 24, 2005 1:53 pm
by jenny kaur
$room_num$room_num$room_num$room_num

Posted: Mon Jan 24, 2005 2:36 pm
by timvw
// increment counter
$room = $room + 1;
}
// output the results to a table
1-) at first sight you are closing here the while ($row = mysql...) { loop.
but you are nowhere closing the while ($room <= $...)



2-) mysql has from and to unixtime functions... no need to do it in php.

Posted: Mon Jan 24, 2005 3:03 pm
by jenny kaur
hey thanks for reply but did u read my post? :?

that does not solve my problem,

i want to show the dates the rooms are free or not...

i made a little diagram to show the desired output i wanted!

please help!