suggest about date

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
hrubos
Forum Contributor
Posts: 172
Joined: Sat Oct 07, 2006 3:44 pm

suggest about date

Post by hrubos »

Dear all,

Would you mind suggesting for me how is the best way in programing Php a mysql to announce automatic for peson that : if infact they paid bill from 01-> or 31,every months ---> paid, and if it's 1 in a new month, they will receive debt.

And my idea that :

step 1 : function date on browser to undertstand what is the date.
step 2 : check in database in table finance , date_paid , price --> if (exit name ){ print -> paid}else {not paid}

Thank your advance ;)
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Post by Kieran Huggins »

Post Reply