A
Anonymous
Guest
im tring to create this script that.. if today is the 20 then echo this.. but if its not the 20 then echo else... but i cant get it ..
can anyone tell me how do i go by this.. thanx
Code:
<?php
$today = date("l, j, y");
$start = date("monday, 20, 03");
echo $today;
if($today == $start){
echo "<Br>YaY the day has come!";
}else{
echo "<Br>You have to wait till the 20th to access this code";
}
?>
can anyone tell me how do i go by this.. thanx