I have link <a href="apply.php">Apply Online</a> in html and I want to set the time and date for the said link that on 10-03-2010 at 02:00 PM the said link disable/disappear.
how it is possible and how to code in php.
please help?
Adil
Disable Link at specific time?
Moderator: General Moderators
-
adilmarwat2004
- Forum Commoner
- Posts: 44
- Joined: Fri Sep 04, 2009 11:28 pm
Re: Disable Link at specific time?
http://php.net/manual/en/function.date.php
Here's some pseudo code.
Here's some pseudo code.
Code: Select all
if(currentDate < date(expire date)){
echo '<a href="apply.php">Apply Online</a>;
}
Re: Disable Link at specific time?
i am a newbie in php
says i have a link <a href="example"> this link will disappear in 3 days! </a>
i can only do it by using php?
can help me to set an example? (i don't know anything about this php language)
so that i can use it as a template
thanks thanks thanks
says i have a link <a href="example"> this link will disappear in 3 days! </a>
i can only do it by using php?
can help me to set an example? (i don't know anything about this php language)
so that i can use it as a template
thanks thanks thanks