php - MySQL throws error even though query syntax is correct -


It has been stumped. I almost have actually copied this query in the Query field in the Heads of SQL and run it successfully.

I am getting this error

There is an error in your SQL syntax; the closest ';

  Delete points (`name`,` commander`, `dslm`, 'ip', 'ip', 'on this question  
  dots; Enter in dots (`name ',` sambandanr`, `dslm`,' ip ',' lat`,` lng`, `online`) value (" ... "," ... "," ... "," .. "," ... "," ... "," ... "), (" ... "," ... "," ... "," ... "," .. .. "," ... "," ... "), (" ... "," ... "," ... "," ... "," ... "," ... "," ... "), (" ... "," ... "," ... "," ... "," ... "," ... "," ... "), (" ... "," ... "," ... "," ... ... "," ... "," ... ... "," ... "), (" ... "," ... "," ... "," ... "," ... "," ... ... "," ... "), (" ... "," ... "," ... "," ... "," ... "," ... ... "," ... "), (" ... "," ... "," ... "," ... ... "," ... "," ... "," ... "), (". .. "," ... "," ... "," ... "," ... " , "...", "..."), ("...", "...", "...", "...", "...", "..." , "..."), ("...", "...", "...", "...", "...", "...", "..." ), ("...", "...", "...", "...", "...", "...", "...");   

Actual SC ryat has actual data and about 800 lines are seriously, I have copied and pasted the first 10 rows and runs the query manually, it fully tells me that the line How can I get an error on 1

Any help would be appreciated


EDIT: I just copied the complete unsuccessful script in the query editor and ran it successfully ran !!? !?!?

You send two questions at a time.

Either send them separately or use a multi-query function ( PHP ) to do this.

To do this, you MySQLi extensions: MySQL extensions are not able to send multiple queries in one statement.

From:

mysql_query () A unique query in the current active database on a server related to the specified link_ identifier (many queries are not supported) Sends.

Comments