Search found 3 matches

Return to advanced search

Re: next three months

This is the error I get

Code: Select all
ERROR checking id item availability dates
mysql_error
SELECT * FROM bookings_calendar WHERE id_item= AND MONTH(the_date)=07 AND YEAR(the_date)=2009
by hanzi
Thu Jul 16, 2009 2:23 pm
 
Forum: General
Topic: next three months
Replies: 52
Views: 56156

Re: next three months

Hi

Okay so added all that code to the index.php and I changed the "prev" and "next" to point to the index.php because it just gave me a 404 error otherwise. Now I get this error:
Code: Select all
ERROR checking id item availability dates
and I have no idea why.

Please help.
Thanks
by hanzi
Thu Jul 16, 2009 11:16 am
 
Forum: General
Topic: next three months
Replies: 52
Views: 56156

Re: next three months

OK, Step 1: Detect and define new vars Add this towards the beginning of the code to catch the data sent by the links or to define the defaults: Code: Select all if((isset($_REQUEST["year_month"])) && (!empty($_REQUEST["year_month"])) ){ $date_bits=explode("-",...
by hanzi
Wed Jul 15, 2009 2:25 pm
 
Forum: General
Topic: next three months
Replies: 52
Views: 56156

Return to advanced search

cron