/    Sign up×
Community /Pin to ProfileBookmark

copy and add dates

Hi

On my webpage there is an event calender which I want to display information depending o what onb dates in other tables. I have a table with a list of users with there date of birth in it. I can figure out how to get the information to display on the calender. I’m challenge id for something like a birthday the dates will repeat each year. I cannot figure out how to get the date dates to repeat.

I thought about setting it up so that x brithdays are created for each person but

that would make my table huge. is there away that once a certain date value is passed I can add an entery to the table.

to post a comment
PHP

1 Comments(s)

Copy linkTweet thisAlerts:
@DJsACSep 03.2006 — easiest way would be to set the date March 29, without the year.

and edit the calendar so it will always show the birthdays, no matter what the year is?

if(isset($year))

{ $date = $month.$day.$year; }

else{

$date = $month.$day.$everyyear; }

or something along the lines of:

if($status == "Birthday")

{ $everyyear = TRUE; }
×

Success!

Help @kproc spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.13,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...