Welcome Guest, Not a member yet? Register   Sign In
Date Recurrence PHP Coding help
#1

[eluser]Unknown[/eluser]
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!




Theme © iAndrew 2016 - Forum software by © MyBB