Hi!
I'm rather new to PHP and are using some basic functions.
However I can't seem to get this date; ifelse; include -statment to work.
<?php
$d=date("w");
if ($d=="1" OR "4")
include("Div filer/Visdom/Visdom02.html");
elseif ($d=="6")
include("Div filer/Visdom/Visdom03.html");
else
include("Div filer/Visdom/Visdom01.html");
?>
|
What I want to it to do is to include a different file depending on the day of week.
What is wrong with my code?
Thanks!