da ich ein schulchat mache und gerade beim erstellen der klassen mache z.B.
8a oder 5e
ich will das man dies nur 1 in 1/2 jahren machen kann d.H einmal gemacht darf man erst wieder in 6 monaten das wieder ändern
sry ich bin nicht so gut beim beschreiben
Da müsstest du mit cronjobs arbeiten also einen cronjob nach deiner Zeit einstellen und das wenn geändert werden darf den Wert von gesperrt auf Frei Stellt und wenn alles geändert wurde das wieder als Gesperrt gespeichert wird. MFg Ritchi Die genaue umsetzung kann ich dir grade leider nicht sagen..
Ein Cronjob ist unnötig, du kannst einfach ein 2tes Profifeld machen wo du die Zeit der letzten Änderungen einträgst und diese überprüfst du beim Speichern.
1 neues Profilfeld
2 Abfragen beim Speichern
= Fertig.
Ok ist nartürlich auch eine Lösung
hm
dann muss ich gucken wie das mit dem abfragen ist kenne mich nicht so gut damit aus
eher spiel ideen
trotzdem danke
Hallo
in moment habe ich dies noch nicht hinbekommen
gibts evt ein html tutorial
weil ich keins kenne
wäre nett wenn es eine antwort gäbe
Das aktuelle Jahr in ein Profilfeld speichern und prüfen über if() ab dies mit den aktuellen Jahr übereinstimmt -> FEHLER oder nichts machen