Thanks for the info. I'm unfortunately not getting it though. I understand
what you mean but I am having trouble trying to get anything working. Do you
have any more info or perhaps some references I can check out?

 

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of Wade Smart
Sent: 13 May 2007 17:42
To: [email protected]
Subject: Re: [php-list] after certain date do this....

 

05132007 1136 GMT-6 DST

Start with something like this: 

$duedate = some date
Get the date that is five days before the date with either strtotime()
or mktime()

Then if the $duedate is 5 days out = font color equals red.
Sending the email is the same...
if the duedate is five days out = font color red, send mail.

Wade

On Sun, 2007-05-13 at 17:23 +0100, Mark Mckee wrote:
> Hi All
> 
> 
> 
> I need a little help. I am creating an internal site for work. Basically
we
> will be adding names and info to a database that have to have certain
things
> done before a certain date. Each date is different. I need a little help
> with a php script that will detect the date and change the font colour to
> red if the date is 5 days away or has passed completely. 
> 
> 
> 
> I would like to have an email sent to a certain person when it is 5 days
> before, then an email sent to multiple people if the date arrives and
passes
> 
> 
> 
> Is this possible and could someone point me in the right direction to get
> started? 
> 
> 
> 
> Mark M.
> 
> 
> 
> [Non-text portions of this message have been removed]
> 
> 
> 
> Community email addresses:
> Post message: [email protected] <mailto:php-list%40yahoogroups.com>

> Subscribe: [EMAIL PROTECTED]
<mailto:php-list-subscribe%40yahoogroups.com> 
> Unsubscribe: [EMAIL PROTECTED]
<mailto:php-list-unsubscribe%40yahoogroups.com> 
> List owner: [EMAIL PROTECTED]
<mailto:php-list-owner%40yahoogroups.com> 
> 
> Shortcut URL to this page:
> http://groups.yahoo.com/group/php-list 
> Yahoo! Groups Links
> 
> 
> 
> 

 



[Non-text portions of this message have been removed]

Reply via email to