$whatday = date("w");
if($whatday=="0"){
echo"sunday";
}
if($whatday=="1"){
echo"monday";
}
openside("Ukentlig");
echo "$whatday = date("w");
if($whatday=="1"){
echo"Mandag";
}
else if($whatday=="2"){
echo"Tirsdag";
}
else if($whatday=="3"){
echo"Onsdag";
}
else if($whatday=="4"){
echo"Torsdag";
}
else if($whatday=="5"){
echo"Fredag";
}
else if($whatday=="6"){
echo"Lørdag";
}
else if($whatday=="0"){
echo"Søndag";
}";
closeside();
Quote
starefossen wrote:Code Download sourceopenside("Ukentlig");
echo "$whatday = date("w");
if($whatday=="1"){
echo"Mandag";
}
else if($whatday=="2"){
echo"Tirsdag";
}
else if($whatday=="3"){
echo"Onsdag";
}
else if($whatday=="4"){
echo"Torsdag";
}
else if($whatday=="5"){
echo"Fredag";
}
else if($whatday=="6"){
echo"Lørdag";
}
else if($whatday=="0"){
echo"Søndag";
}";
closeside();
What am I doing wrong?
openside("Ukentlig");
$whatday = date("w");
if($whatday=="1"){
echo"Mandag";
}
if($whatday=="2"){
echo"Tirsdag";
}
if($whatday=="3"){
echo"Onsdag";
}
if($whatday=="4"){
echo"Torsdag";
}
if($whatday=="5"){
echo"Fredag";
}
if($whatday=="6"){
echo"Lørdag";
}
if($whatday=="0"){
echo"Søndag";
}
closeside();
Category Forum
Official Core Support - 6Labels
None yet
Statistics
0 participants
Notifications
You are not receiving notifications from this thread.
Related Questions