Außerdem werden führende Nullen benötigt.
Diese Aussage ist nicht richtig.
$abfrage = "INSERT INTO gkind (gdatum) VALUES ('2007-03-12')";
fügt das Datum richtig ein,
$abfrage = "INSERT INTO gkind (gdatum) VALUES ('2007-3-12')";
führt ohne Fehlermeldung zu einem Datumswert von 0000-00-00.
ano