This topic is locked

How do i generate upcoming events dynamically?

8/6/2016 11:10:09 PM
PHPRunner General questions
D
Darkwoods author

I'm trying to build a payment reminder for my properties so basically i have made a table called properties and added start date field and end date field in which the period i will be paying the rent for that particular house/property
I also made a related payments table for each property but here is the problem how do i dynamically generate each monthly payment in the payments table using the start and end date?
Is that even possible to do?
Please let me know this is driving me nuts!

D
Darkwoods author 8/6/2016

so basically i want to calculate the difference or duration between the two dates and get out how many months or weeks there are between the two dates and throw the data dynamically into the related payment table..
I would pay for this snippet please help me!!! <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=80007&image=1&table=forumreplies' class='bbc_emoticon' alt=':blink:' />

romaldus 8/6/2016



I'm trying to build a payment reminder for my properties so basically i have made a table called properties and added start date field and end date field in which the period i will be paying the rent for that particular house/property
I also made a related payments table for each property but here is the problem how do i dynamically generate each monthly payment in the payments table using the start and end date?
Is that even possible to do?
Please let me know this is driving me nuts!


Date and time functions in web apps:
http://xlinesoft.com/blog/2014/11/12/datetime-handling-in-web-applications/

D
Darkwoods author 8/7/2016



Date and time functions in web apps:
http://xlinesoft.com/blog/2014/11/12/datetime-handling-in-web-applications/


thank you very much but do you know how I can achieve this?
i need to calculate the two dates and then let it dynamically post the new fields to the related database..
so if let say the calculation is 12 months then 12 payment fields reminder with each date like dec payment, jan payment etc would be added to the related database
is this possible ?

Sergey Kornilov admin 8/11/2016

Yes, this is possible and some coding will be required in order to implement this. If you want to hire Xlinesoft to implement this for feel free to contact support directly at http://xlinesoft.com/dss/support.asp