Hi there :-) Basically what I mean is I have an orderform for rooms. THey can select the date they arrive and the date they leave, but if they leave on a different month when the price is higher, the last day or however many will be a higher price, what I need is to not only calculate the flat price, but also take into account if their stay goes over a period of time when rooms are more than they are at other times of the year. So, they could book monday - friday, monday thru wednesday could be $50, but it needs to check and see if any of the dates - in this example - fall on a date that the prices are higher, so in this example thursday and friday would be $80 a night whereas monday thru wednesday would be $50. It's hard to explain :-) Chris > cjp@planetoxygene.com (Chris Payne) writes: > > pardon les francais :-) > > Les Français - the (pl) french (people) ? ;-) > > > I don't know how else to explain it so sorry if I confused you. > > I don't know if anybody else might get this, but I have absolutely no > idea what you mean. If I'm to say anything, I think you have to post > some code. > > > -- > --Fredrik > Faith, n: > That quality which enables us to believe what we know to be > untrue. > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php