FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » insert query error
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: insert query error [message #174603 is a reply to message #174601] Tue, 21 June 2011 16:54 Go to previous messageGo to previous message
alvaro.NOSPAMTHANX is currently offline  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
--
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Command line cannot fwrite, browser can
Next Topic: gret
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 03:54:20 GMT 2024

Total time taken to generate the page: 0.05524 seconds