Search found 7 matches

Return to advanced search

Re: Last updated function

Sorry for the multiple posts but ive now worked out where the problem is :) basically the primary id column auto updates so when a calendar is removed, all the ids change and thus the id and id_item fields dont match so no or the wrong date is returned. I dont think this is a problem with your scrip...
by mattbed
Fri Oct 15, 2010 6:03 pm
 
Forum: Support
Topic: Last updated function
Replies: 7
Views: 6408

Re: Last updated function

ah, i think i may have fixed it but im not 100% sure why it stoped working. Basically i replaced the id_item with 1 and it worked. I did this is the entry with id=1 has id-item=2 which is the date entry i want. I think it may have stoped working as i removed the first calendar so calendar 2 was give...
by mattbed
Fri Oct 15, 2010 5:53 pm
 
Forum: Support
Topic: Last updated function
Replies: 7
Views: 6408

Re: Last updated function

adding echo to the front makes this line appear: SELECT DATE_FORMAT(date_mod, '%d-%m-%Y') as date_mod FROM `bookings_last_update` WHERE id=2.
I am fairly sure that the calendar is number 2 as it is the one i made before deleting the demo calendar. Would this be correct?
by mattbed
Fri Oct 15, 2010 5:38 pm
 
Forum: Support
Topic: Last updated function
Replies: 7
Views: 6408

Re: Selecting date ranges

Ok thanks.
I think that is slightly outside my capabilities so ill just leave it for now.
Thanks again :)
by mattbed
Thu Oct 14, 2010 5:58 pm
 
Forum: Support
Topic: Selecting date ranges
Replies: 8
Views: 7968

Re: Last updated function

Hi chris, ive made the first change you surgested but i dont think it was any different to what i had, and i havent tried the other change as that doesntent apply to me. Everything else is working fine and the database contains the last updated date and it changes when i make a change, no problems, ...
by mattbed
Thu Oct 14, 2010 5:56 pm
 
Forum: Support
Topic: Last updated function
Replies: 7
Views: 6408

Selecting date ranges

Hi there
Does anyone know if it is possible to select a range of dates when updating bookings rather than selecting each day individually?
If not maybe it could be added as a feature in the next version?
Cheers
by mattbed
Thu Oct 14, 2010 1:18 am
 
Forum: Support
Topic: Selecting date ranges
Replies: 8
Views: 7968

Last updated function

Hi there I set up and installed the availability calendar on my test station before putting it onto my website and everything worked fine. When i ran the same setup on my webserver everything seemed to go correctly but for some reason the function that displays when the last update was has stoped wo...
by mattbed
Thu Oct 14, 2010 1:12 am
 
Forum: Support
Topic: Last updated function
Replies: 7
Views: 6408

Return to advanced search

cron