MySQL Forums
Forum List  »  PHP

auto insert every 15th and end of the month
Posted by: anwar robinson
Date: November 15, 2005 11:55PM

hi
how can i make a certain amount to be inserted in an equal slice in a given X-term. the only thing i know for now is the INTERVAL 1 MONTH to get for the next month.
here is the sample data.
i have a cetain amount: 3,500.00 for the payable
now i would like to divide it in X-term (6 terms) and insert in mysql table that already been divided equally. how can i determine the 15th and end-day for 3-month consecutive?



Edited 1 time(s). Last edit at 11/16/2005 12:04AM by anwar robinson.

Options: ReplyQuote


Subject
Written By
Posted
auto insert every 15th and end of the month
November 15, 2005 11:55PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.