Results 1 to 1 of 1
Nov 8, 2000, 11:53 #1
- Join Date
- Nov 2000
- 0 Post(s)
- 0 Thread(s)
I will start with php in the mysql-server a sql-batchfile.
This file is a normal acsii-text-file.
In the Shell of the Mysql-servers I can do the following line without any problems:
the batchfile is ok and doesn´t make trouble.
Now I want send thins line with php to the mysql-server:
I get this error:
You have an error in your SQL syntax near '\. create_table_kfz_kasko_produktbeschreibung.sql' at line 1
the variable(name) $tablename and its content is correct.
And I can delete the table without problems:
mysql_query("drop table $tablename;");
Is there a solution?