Jump to content

Date Recurrence PHP Coding help


gwolff2005

Recommended Posts

Hi,

 

I am writing a code in PHP to achieve the date recurrence pattern just like in Microsoft Outlook in Codeigniter Framework. The logic is a course starts every week or every month or yearly. When admin selects current date and weekly or month in the form, it should calculate and return all the rows as output. For example if user say that course starts every week on Monday and occurrence as 20, it should return 20 rows with starting and ending date with course name.

For which I created a form with fields: start date, end date and recurrence: weekly monday, tuesday, wednesday, thursday, friday: monthly: yearly and occurrence (please the attach image).

 

and inserted this values into the Mysql database table.

 

I need some help to start with writing the logic to retrieve all the rows with course name with start and end date the values back to user.

 

Thanks in advance!

 

[attachment deleted by admin]

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.