Hallo,
Meine Datenbank mit einem fertigen Beispieleintrag sieht so aus:
ID von an event note projekt erstellt
11 9 9 Himmelfahrt 0 20070502095638
datum anfang ende ressource ort contact note2 div1
2007-05-17 0700 1600 NULL NULL 0 NULL
div2 remind visi sync1 sync2
NULL 0 20070502095638 20070502095638
ID ist die Nummer des Kalendereintrags, von und an bezeichnen Usernummern, anfang ,ende, projekt, contact sind immer gleich, note und note2 haben keinen Inhalt
Jetzt habe ich zwei Strings, die einmal das Datum und dann noch das event enthalten, also hier Himmelfahrt. Datum hat schon das Endformat.
$datum = "2007-05-17"
$event = "Himmelfahrt"
Wie erstelle ich jetzt mit PHP einen Eintrag des obigen Formates in der Tabelle "termine"?
gruß aus Hosena