Jump to content

[SOLVED] Stuck with a lil math.


Demonic

Recommended Posts

Ok I'm writing a script for my hosting company right.  Pay every 30 days type deal.

 

So I'm trying to get the total amount of days they didn't pay over thirty.

For example:

 

I paid hosting 31 days ago I want to get the amount of days they wen't over 30 they didn't pay for there hosting.  So it should echo 1 since 31-30 = 1 but I'm trying to base it on the time() function how would I go about doing this?

Link to comment
https://forums.phpfreaks.com/topic/62272-solved-stuck-with-a-lil-math/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.