Hallo zusammen, ich bin dabei für mich ein DB Backup Script zu schreiben. Leider habe ich aber ein Problem, ich bekomme immer einen Fehler
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 '-dan_dan .gbuch' at line 1
Nun ich weis nicht ob das vom - her kommt oder nicht. der Codeteil in dem es auftritt heisst.
Original sollte der obig Fettgemachte Teil so heissen dan-dan_dan
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 '-dan_dan .gbuch' at line 1
Nun ich weis nicht ob das vom - her kommt oder nicht. der Codeteil in dem es auftritt heisst.
PHP-Code:
mysql_query("SHOW CREATE TABLE ".$db.".".$table, $link)
Kommentar