Jump to content

Recommended Posts

I have it were when the user sign's up the date is also recorded in a database. How would I make it so that the system checks everyday or a script checks everyday if the userer has filled a "pirep" before 14 days. Say the user joins the 10th and he didnt press send on a form of some sort and it has been 14 days since he joined. How would I make it so it would email that person if he did press send on that form?*NOTE* I know I have been asking many questions over the course of the month and cant give anything back to the community. I am still new at this and I thank you so much!

Link to comment
https://forums.phpfreaks.com/topic/139014-count-days/
Share on other sites

Ok I have this

$currenttime = time(); 
$newtime = $signup_date; 

$timedifference = $newtime - $currenttime; 

$temptime = floor($timedifference/86400); 

But this just gives me -14245. I am trying to make it subtract the signup_date to the current date of today. I think this is correct any help would be great!

Link to comment
https://forums.phpfreaks.com/topic/139014-count-days/#findComment-727234
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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