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 #174608 is a reply to message #174606] Wed, 22 June 2011 02:15 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 6/21/2011 3:58 PM, Bill B wrote:
> On 6/21/2011 3:48 PM, Jerry Stuckle wrote:
>> On 6/21/2011 10:43 AM, anu 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
>>>
>>> Anu
>>
>> You have a MySQL message - ask in a MySQL newsgroup, such as
>> comp.databases.mysql.
>>
>> This isn't a PHP problem.
>
> Even if it shows up in a PHP error log? If I correctly recall, some time
> ago you admonished me (correctly I think) to search Google using "PHP
> [error message]."
>
> Bill B

It's a MySQL message. PHP knows nothing about SQL.

Just because some application error shows up in the Windows log, should
you ask in a Windows newsgroup?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
[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 05:45:31 GMT 2024

Total time taken to generate the page: 0.04832 seconds