Re: insert query error [message #174603 is a reply to message #174601] |
Tue, 21 June 2011 16:54 |
alvaro.NOSPAMTHANX
Messages: 277 Registered: September 2010
Karma:
|
Senior Member |
|
|
El 21/06/2011 16:43, anu escribió/wrote:
> I have a simple insert query in PHP wherein I am trying to write a
> record to a MySql database. This is giving me the following Mysql
> error. Can you tell me what could be the cause for this error and
> how I can rectify it.
>
> Could not successfully run insert query :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 ''','','','','','','','','','','')'
> at line 2
The cause of this error message is a syntax error in your SQL code. You
can rectify it by fixing the wrong syntax in your query.
--
-- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web: http://borrame.com
-- Mi web de humor satinado: http://www.demogracia.com
--
|
|
|