Topic awaiting preservation: Recurring Events in MySQL/PHP Calendar (Page 1 of 1) |
|
---|---|
Nervous Wreck (II) Inmate From: |
posted 11-04-2005 04:05
I'm setting up a MySQL based calendar in PHP on a website. I've learned how to do simple things like adding/deleting/editing events, displaying with calc.php, etc. |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
posted 11-04-2005 08:50
well, one approach is to store each calendar entry with a next and previous entry link - in the reoccuring row that is. |
Nervous Wreck (II) Inmate From: |
posted 11-05-2005 22:28
Okay, I think I've opted to insert individual entries for multi-day & recurring events. I'm not sure how to do this in MySQL/PHP, though. Can someone give me an example of how I can do this? What would the code look like for this: |
Maniac (V) Inmate From: under the bed |
posted 11-05-2005 23:08 |
Nervous Wreck (II) Inmate From: |
posted 11-05-2005 23:19
Okay - the whole thing is too complex. Here is the simple part - I can expand this to work with the whole thing: |
Maniac (V) Inmate From: under the bed |
posted 11-06-2005 00:08
what value will you store in the 'recurrence' field? |
Bipolar (III) Inmate From: f(x) |
posted 11-06-2005 02:39 |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 11-06-2005 21:49
My first instinct on this is that you don't want to recurrance in the same table as the event entry. I'd abastract these out a bit. |
Nervous Wreck (II) Inmate From: |
posted 11-07-2005 16:50
quote:
quote:
|
Bipolar (III) Inmate From: f(x) |
posted 11-08-2005 04:57 |
Bipolar (III) Inmate From: f(x) |
posted 11-12-2005 00:27
Actily my calendar needs more work than I thought... I suggest you look around Google or go here for examples to run off. I'm sorry, I can't give out any source until I release it under the GNU Licence. I do not know when that will be, maybe this year if I'm lucky! |