Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #2283

Re: insert query error

From Jerry Stuckle <jstucklex@attglobal.net>
Newsgroups comp.lang.php
Subject Re: insert query error
Date 2011-06-21 22:15 -0400
Organization A noiseless patient Spider
Message-ID <itrj80$qad$1@dont-email.me> (permalink)
References <73115c4f-081b-4797-9a3e-075bc5d8e60b@f2g2000yqh.googlegroups.com> <itqsi6$7rj$1@dont-email.me> <itqt59$e4b$2@dont-email.me>

Show all headers | View raw


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@attglobal.net
==================

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

insert query error anu <anucherkuri@gmail.com> - 2011-06-21 07:43 -0700
  Re: insert query error Luuk <Luuk@invalid.lan> - 2011-06-21 16:49 +0200
  Re: insert query error "Álvaro G. Vicario" <alvaro.NOSPAMTHANX@demogracia.com.invalid> - 2011-06-21 18:54 +0200
  Re: insert query error Bill B <me@privacy.net> - 2011-06-21 13:19 -0400
  Re: insert query error Jerry Stuckle <jstucklex@attglobal.net> - 2011-06-21 15:48 -0400
    Re: insert query error Bill B <me@privacy.net> - 2011-06-21 15:58 -0400
      Re: insert query error Jerry Stuckle <jstucklex@attglobal.net> - 2011-06-21 22:15 -0400
    Re: insert query error Jonathan Stein <jstein@image.dk> - 2011-06-22 12:04 +0200
      Re: insert query error Jerry Stuckle <jstucklex@attglobal.net> - 2011-06-22 06:38 -0400
        Re: insert query error Jonathan Stein <jstein@image.dk> - 2011-06-22 17:03 +0200
          Re: insert query error dougatmilmacdotcom@example.com (Doug Miller) - 2011-06-22 15:34 +0000
            Re: insert query error Jonathan Stein <jstein@image.dk> - 2011-06-22 21:54 +0200
              Re: insert query error dougatmilmacdotcom@example.com (Doug Miller) - 2011-06-22 21:44 +0000
          Re: insert query error Jerry Stuckle <jstucklex@attglobal.net> - 2011-06-22 12:08 -0400
            Re: insert query error dougatmilmacdotcom@example.com (Doug Miller) - 2011-06-22 21:46 +0000
              Re: insert query error Jerry Stuckle <jstucklex@attglobal.net> - 2011-06-22 23:23 -0400
                Re: insert query error dougatmilmacdotcom@example.com (Doug Miller) - 2011-06-23 11:38 +0000
                Re: insert query error Jerry Stuckle <jstucklex@attglobal.net> - 2011-06-23 08:41 -0400
                Re: insert query error dougatmilmacdotcom@example.com (Doug Miller) - 2011-06-23 13:34 +0000
                Re: insert query error Jerry Stuckle <jstucklex@attglobal.net> - 2011-06-23 12:45 -0400
                Re: insert query error dougatmilmacdotcom@example.com (Doug Miller) - 2011-06-23 17:51 +0000
                Re: insert query error Jerry Stuckle <jstucklex@attglobal.net> - 2011-06-23 15:04 -0400
                Re: insert query error dougatmilmacdotcom@example.com (Doug Miller) - 2011-06-23 20:32 +0000
                Re: insert query error Jerry Stuckle <jstucklex@attglobal.net> - 2011-06-23 19:23 -0400
                Re: insert query error dougatmilmacdotcom@example.com (Doug Miller) - 2011-06-23 23:33 +0000
                Re: insert query error Jerry Stuckle <jstucklex@attglobal.net> - 2011-06-23 22:23 -0400
                Re: insert query error Luuk <Luuk@invalid.lan> - 2011-06-23 20:39 +0200

csiph-web