Greenguy's Board WebcamWiz CRAZY $5,000 Reward Bonuses


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Today's Posts

 
 
Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 2003-09-25, 09:05 PM   #2
matt
Trying is the first step towards failure
 
Join Date: Apr 2003
Location: Australia
Posts: 123
Send a message via ICQ to matt
If your database has a field for date added then you can, otherwise i'd say you're in trouble...

Without looking at what you've got you'll need to do three things:

1. check the date of the link addition. how you do it depends on whether you're using a database or txt file.

2. check the current date eg:

$current_date = gmstrftime('%m/%d/%y', strtotime("0 days"));

that needs to be modified depend on how the date is recorded for the added links.

3. create an if statement to compare the two dates and check if the date is within a certain timeframe eg. 7 days.


Unfortunately it's not going to be that easy for you to implement something like that nooze...


Good Luck!

Matt
__________________
Link List Land - Linklist Creation, Design and Implementation.
matt is offline   Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:44 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc