If you used my code like you said in #12 post
and it failed == Your doing something wrong!!!
The top lines of this code
$_POST['startDate'] = '2010-01-25';
$_POST['endDate'] = '2010-01-26';
$_POST["rooms"] = '1';
simulates the calling page, if your using a page to call this code the top three lines must be commented out.
Did you do that?
What did not work????? What is being echoed to the screen?????