Re: insert query error [message #174608 is a reply to message #174606] |
Wed, 22 June 2011 02:15 |
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
==================
|
|
|