meGa
Neues Mitglied
OMFG mache machen das mit den Klammern und manche so '".$blabla."' was soll man nun machen ?
Sorry.
Da es eine Funktion ist dann so
$blabla =mktime ..
und dann die vari speichern ?
Edit: er spuckt sowas aus wenn ich es wieder auslesen will aus der mysql: 1072911600
Edit: und wenn ich das mit den ".." benutze kommt immer sowas:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''mega_war' (catID, opponent, opponent_hp, date, xonx, maps, players, description' at line 1
Sorry.
Da es eine Funktion ist dann so
$blabla =mktime ..
und dann die vari speichern ?
Edit: er spuckt sowas aus wenn ich es wieder auslesen will aus der mysql: 1072911600
Edit: und wenn ich das mit den ".." benutze kommt immer sowas:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''mega_war' (catID, opponent, opponent_hp, date, xonx, maps, players, description' at line 1
Code:
$sql_war_add="INSERT INTO '".$prefix."_war' (catID, opponent, opponent_hp, date, xonx, maps, players, description, result1, result2) VALUES ('".$_POST['category']."', '".$_POST['opponent']."', '".$_POST['opponent_hp']."', '".$date."', '".$_POST['xonx']."', '".$_POST['maps']."', '".$_POST['lineup']."', '".$_POST['description']."', '".$_POST['result1']."', '".$_POST['result2']."')";
Zuletzt bearbeitet: