I offer like 5 bucks by paypal if any of you can tell me the answer to this.
Ok I'm working on a script and it only has to show "YOU WIN" for 5 minutes, I picked those 5 minutes between the minutes 16 and 21. Now outside of those minutes, I want it to say how much time is left until it will be those minutes again. I can't figure out how I can do that.
If you post how to achieve the variable to how much time is left I offer $5 paypal.
Thanks!
This is my script I have so far..
(I JUST WANT TO REPLACE "HOWEVER MANY" with the real ammount!)
<?
$minute = date(i);
if (($minute > 15) && ($minute < 21)) {
echo "You win! It's between 15 and 21!";
}
else {
echo "You will win in HOWEVER MANY minutes!";
}
?>