In message <[EMAIL PROTECTED]>, Marian Briones
<[EMAIL PROTECTED]> writes
>Now is there a way I can make my database assume that if a record is
>flagged as a fixed event that the year in the start date and enddate
>fields assumes the current year, whatever that is?  It's almost like I
> need to come up with a way to have dynamic fields.  I think I'll go
>work out and maybe my brain will figure out a better way...until then,
>I thought I'd present it to you brainiacs.  Thanks in advance,
>Marian

I have events, and have an events database.  To simply, the record for
Christmas, has the event date 25/12/2006, and repeat every 365 days.  I
also have a Cron which checks records in the past, and adds "repeat
days" to "event date".

On some pages I show all events between today and a date 28 days in the
future.

A different approach would be to have the date fixed as "25/12/" + this
year.

-- 
Pete Clark

Sunny Andalucia
http://www.hotcosta.com/comm_1.htm


Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/php-list/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to