MyXoops Forum

Forum - myXOOPS German Support

8 - 2 = ?  
Geben Sie das Ergebnis der Berechnung ein
Sie haben max. 10 Versuche.
 
* = Erforderlich

Aw:: Täglich wechselnder Blockinhalt

Betreff: Aw:: Täglich wechselnder Blockinhalt
von Bleekk am 26.05.2009 12:40:36

Ich würde es so versuchen, weiss nicht ob dir das weiter hilft
<?php 
$datum 
time(); 
$wochentag date("w"$datum);  
if(
$wochentag == 1){   echo "Montag";  } 
else if (
$wochentag == 2){  echo "Dienstag";  } else if ($wochentag == 3){  echo "Mittwoch";  } else if ($wochentag == 4){  echo "Donnerstag";  } ?>

Aktuell aus dem Forum

Forum Thema Antworten Views Letzter Beitrag
Modulentwicklung New Xoops Xcreate Module 0 5326 26.11.2025 15:22
efkan Gehe zum letzten Beitrag
Modulentwicklung XOOPS Custom Field Module 1 1814 24.11.2025 11:21
Goffy Gehe zum letzten Beitrag