Why do I get a SQL syntax; consult the manual for your version of the MySQL server for the proper syntax

I have a purchase order where my buyers can add to my form. I use a loop that adds an extra line when they add a new product. I'm storing the information in two tables different mySQL. The first is alll of my personal, the second is the elements. My personal records correctly. However, I get the following error when you save the items:

You have an error in your SQL syntax; consult the manual for your version of the MySQL server for the right syntax to use near 1, 'wer 2345', 1, 1)' on line 9

The error occurred in E:\webs\clarkwebhosting.com\SSL\esrc\order_add.cfm on line 74

++ After storage of the personal information, I take the command ID to populate the table of Articles

< cflock timeout = "5" >

< name cfquery = "qGetorderID" datasource = "#application.dsn #" >

Select max (orderID) as oid of orders

< / cfquery >

< / cflock >

< cfoutput > < cfset getoid = #qGetorderID.oid # > < / cfoutput >

++ Is the loop that I use to fill the table items ++

< cfloop to = "#form.numba # '1' = ' index 'idx' = >"

< cfset getqty = evaluate ("form.qty" & idx) >

< cfset getitem = evaluate ("form.item" & idx) >

< cfset getunit = evaluate ("form.unit" & idx) >

< cfset gettotal = evaluate ("form.total" & idx) >

< name cfquery = "insertItems" datasource = "#application.dsn #" >

INSERT in Articles

(orderID,

quantity,

agenda,

Unit,

total

)

VALUES)

< cfqueryparam value = "" #getoid # "CFSQLType ="CF_SQL_INTEGER">"

< cfqueryparam value = "" #getqty # "CFSQLType ="CF_SQL_INTEGER">,"

< cfqueryparam value = "" #getitem # "CFSQLType ="CF_SQL_VARCHAR">,"

< cfqueryparam value = "" #getunit # "CFSQLType ="CF_SQL_INTEGER">,"

< cfqueryparam value = "" #gettotal # "CFSQLType ="CF_SQL_INTEGER">"

)

< / cfquery >

< / cfloop >

This line: 1, 'wer' 2345, 1, 1 is the first element of the command line. Any ideas as to why it doesn't work? I use 5.5.9 - log CF9 and mySQL

My apologies... that should have been (note the quotes)...

In addition, it would be...

On another note... You should probably avoid using cfinput and simply use the standard form tags.

Tags: ColdFusion

Similar Questions

  • Why do I get an unknown error when the AI document opening in Illustrator 5.5?

    Why do I get an unknown error when the AI document opening in Illustrator 5.5.? How open/fix documents?

    Did this happen after update to Yosemite? Sorry, but this could be a number of things and not only have a response

    • disable the automatic plugin font activator which is delivered with the police officer, you activate a corrupt police.
    • Clean your cache of police download nuke font it's free
    • reset your prefs AI
    • Delete your printer driver in the system preferences and recreate - Yes, there is a possibility that this can cause this
    • hold off on the update to El Captan for now, even if an update of the system has a chance to eliminate the problem, you're on CS5.5
  • Why do I get an error 'Download' under the applications tab of the Creative Cloud Desktop App?

    Why do I get an error 'Download' under the applications tab of the Creative Cloud Desktop App?

    Download error in the applications tab of Creative Cloud Desktop Application

    https://helpx.Adobe.com/creative-cloud/kb/download-error-apps-tab.html

  • Why that I get an error called "check the operation failed" or "verify operations failed"?

    Why that I get an error called "check the operation failed" or "verify operations failed"?

    I have Adobe Acrobat X Pro

    I even uninstalled and reinstalled my Adobe Suite full - still the same problem

    Help!

    Acrobat Reader XI does not have this problem, but Acrobat Reader XI can not do all the functions acrobat X Pro can do

    I even tried to create a new user - not good - still the same error keeps popping up

    Help!

    Hi all

    There is a temporary problem with our servers which has now been resolved. If please re-launch Acrobat and let us know if still face you this problem.

    Thanks for your patience,

    -Ashu

  • Why do I get a small triangle on the fields to resize them

    In firefox, I get a small triangle at the bottom / right of each field to resize the field - how to rig of this

    See also https://developer.mozilla.org/en-US/docs/CSS/resize

  • Why can I get two different results from the same coefficients?

    I get two different results of the evaluation of the polynomial function.

    For the first, I get the coefficients of a polynomial function to adapt.  I feed the coefficients of the function made the function Eval Poly and get the correct 12.8582 result when I evaluate 49940.

    For the second, I create constant array of values that have been returned by the polynomial Fit function (I typed in).  However, I get an incorrect result of - 120.7913 when I feed the constant table the function Eval Poly when I evauate 49940.

    How this can happen when I use the same values in table?

    A picture of what I explained is attached.

    Hi Altran,

    are you sure about using the 'same '?

    You compare them? Do you have (at least) set them to 17 digits display properties?

    Please attach a VI instead of an image...

  • How can I get a hard copy of a manual for Satellite Pro 6000?

    Hello Forum users

    My brother and I bought my father (at age 81) a Satellite Pro 6000 model PS600E-20EE1-EN on E - Bay for Christmas. There is unfortunately no manual with the laptop. I'm in Australia and my father's in the United Kingdom and he asked me to help to get your hands on a paper manual.

    As I don't know anything about Toshiba laptops or point of sale UK, I was wondering if someone could help. I tried for an hour on the net but could not find a manual to download, which seems to correspond to the above specifications. I guess I could make a phone call international to support the customer in the United Kingdom, but thought I'd try here everything first. My dad would really like a paper, in order to download manual is second best option.

    All the tracks were greatly appreciated.

    Thank you.

    Stella

    Here on this site Web from Toshiba, you can download the manuals for all Toshiba laptops.
    http://EU.computers.Toshiba-Europe.com/cgi-bin/ToshibaCSG/download_manuals.jsp?service=EU

    The manual of your Satellite Pro 6000, you can find in the.
    Archive-> Archive Pro Satellite-> Satellite Pro 60xx-> Satellite Pro 6000

    Best regards

  • Why should I get invited to back up the encryption keys

    Running Vista Ultimate today downloaded a program called "Win32 Image writer" in order to write an ISO on a USB key file.

    I was unable to "just run the utility" as stated in the note "readme", just kept flashing to a BACK window when you try to run it.

    Tried to remove the program, but was told repeatedly that it was in use.

    Since that time I keep getting warnings of dire consequences if I don't support up to my encryption key.

    Restarted my PC and then managed to 'Remove the shift' all partners/records, some of whom are green in the Explorer tree.

    I've learned since that denotes encrypted files!

    I never asked to be encrypted, and now they are gone I always tells me to save these keys.

    I see that I have no other files encrypted on my machine.

    Can someone help me get rid of this warning, or tell me how to check if my machine has all of the encrypted files?

    Thanks Anil, but your statement:-"There is a possibility that the encryption keys are not recognized by the files."

    Implies that I have some encrypted files!

    This is the point, I have never actively sought encryption of one of my files.

    Encrypted files, I saw in the Explorer (shown in green) have been created by a program called "Win32 Image writer", which I had downloaded in order to write a file ISO of Linux on a USB.

    Immediately this program has been installed these encrypted files appeared and started to the harassing!

    I have no idea why the program should act with such stealth, I suspect it was something bad!

    I was totally unable to launch the application and decided to remove it, but it has not been listed as being installed in Progs & features and since there is no "Uninstall" file, I was reduced to "Move/remove" program folder and subfolders encrypted.

    After the second reboot, I had no other please "backup encryption keys", and I see there is no other "green" article in the Explorer tree.

    I am pretty sure that I eradicated the problem, unless there is a way I can force the system to show me if there are other encrypted items.

  • Why do I get an error "failure of the Web deployment task"?

    Hello microsoft,.

    I found an error while I'm trying to publish a Web site. ». Web deployment job failed (the 'ASPNET' account doesn't seem to be valid. The account was obtained thanks to its location: 'AspNetWorkerProcessIdentityName'.)  On behalf of the 'NETWORK' doesn't seem to be valid. The account was obtained thanks to its location: 'AspNetWorkerProcessIdentityName '. Some or all identity references could not be translated? " Why I get this error? How can I resolve and successfully publish my site in Local ISS?
    My environment settings are:
    OS: Windows 7
    IDE: MS Visual Studio 2012
    version: 4.5 .NET
    Concerning
    Salam

    Hello Muhammed Abdussalamp.V,

    Microsoft Communities is for consumer issues on Windows 8, Windows 7, Windows Vista and Windows XP. Because your questions deals with the network and Visual Studio 2012, it would be better to post in the. ASP.Net Forum. Please click here to post your questions.

    They will be able to solve your problem.

    Thank you

    Marilyn

  • Why do I get constants and not desired 'Update available for Acrobat DC' messages on boot to the top?

    I have the full version of Acrobat Pro installed and authorized on my computer, but I don't want anything to do with the "Acrobat Document cloud"!

    But whenever I boot, I get a message saying "Update available for Acrobat DC".

    Acrobat prompt.jpg

    That this has something to do with the fact that I have installed Adobe Creative Cloud?

    I was must have installed when I subscribed to a monthly subscription of minimum cost for Photoshop CC.

    But I never wanted anything to do with all the features 'cloud' regarding Acrobat Pro.

    How can I make these messages stop appearing?

    Autochthon I had this issue for months and called / chatted with Adobe. Their attitude is that "Acrobat has different structure of program developing the other CS 6 products, it's the reason why it shows as update".

    I explained that it would obviously be my Acrobat X Pro, because he wants to "Refresh", and it should show as 'try' like other applications. I have Illustrator and InDesign CS6 installed with my photography CC program. These applications show that previous Versions, with related CC showing Versions as "try." The final message from Adobe has been 'since you don't have Acrobat X Pro, please ignore this update on the application of CC desktop '. Is more difficult, because I do need to update the CC apps I installed one at a time, avoiding the option Update everything. I also had to disable the Notifications of OS Desktop level for the application Adobe CC.

  • Why can't get a signal tv via the media library when I can get a TV signal perfect through my TV?

    Channel 7 works at the present time through media library, but none of the other channels are. All I get is that the channel may be off the air or I need to reconnect to the antenna... When I Flip on the tv, all channels are fine.

    What the tv tuner card do you have?

    Update the tv tuner card driver and the graphics driver on the manufacturers Web sites. Tv signal reconfigures once done.

  • Why do I get an error message saying "the specific module could not be found" when opening an image?

    original title: RunDLL

    I get the window followed whenever I click on an image or a file:

    There was a problem starting c:\Users\Jim\AppData\Local\Temp\seitybu\sxxqrbw\wow.dll that the specific module could not be found

    Can anyone advise on how to fix?

    Hi Jim,.

    I suggest you to navigate to the location of the file in the error message and check if it doesn't matter what suspicious file is present. There could be opportunities that your antivirus software would have deleted a few infected file, but would have left a few remnants, which is the origin of the problem.

    I suggest you use Microsoft safety scanner and look for viruses in your computer.

    The Microsoft Security Scanner is a downloadable security tool for free which allows analysis at the application and helps remove viruses, spyware and other malware. It works with your current antivirus software. Here is the link to launch the Microsoft safety scanner.

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    Warning: the data files that are infected must be cleaned only by removing the file completely, which means there is a risk of data loss.

    Note: the Microsoft Safety Scanner expires 10 days after being downloaded. To restart a scan with the latest definitions of anti-malware, download and run the Microsoft Safety Scanner again.

    Let us know the State of the question, so that we can help you.

  • Why do I get only a trail of the versions of the software when I paid for a student subscription?

    just paid for a subscription studying for the adobe suit (which took more than 48 hours to sort and had fix it myself) and on creativity could desktop application it say that I have only a trail of 30 days for the apps? what I paid for version complete suite adobe be honest with all the problems I've had trying to get this subscription I feel they are trying to scam me out of my money. I have projects in a few weeks and able to do a work in progress due to the lack of computers which have the software.

    12903855_10208641861711672_1529716327_o.jpg12904033_10208641861431665_1619658023_o.jpg

    Hi Shanenolan,

    Really, we apologize for the inconvenience caused to you.

    Please refer stop creative Cloud 2015 to return to the mode of trial

    See also problem with CC Photoshop licenses

    Let us know if you still face additional problems.

    Kind regards

    Shelly

  • Why do I get a blue screen with the error STOP: 0x0000007E every time I turn on my computer?

    Error message: STOP: 0x0000007E (0xc0000005, 0xB42E09AC, 0xBA4E39B4, 0xBA4E36B0)

    Here is the text of the BSOD:

    STOP: 0x0000007E (0xC0000005, 0xB0B9B9AC, 0xBA4DF8AC, 0xBA4DFSA8)
    Kbdclass.sys - address BOB9B9AC base at B0B9B000, DateStamp 48025372
    Some of the Stop line numbers change but their pretty much the same content. There is no C:\Windows\Memory.Dmp file on this computer.  Sorry it takes so long

    The Kbdclass.sys driver that is referenced is the keyboard class driver that is a component of Windows.

    It is possible that the accident might actually be due to a third-party keyboard driver.

    If you have installed a third party (for example. Keyboard Logitech driver) can update you or, if necessary, uninstall the third-party keyboard driver and see if the error resolves?

    Article on Microsoft:

    http://support.Microsoft.com/kb/313050

    In accordance with article Logitech Mouseware software can also cause the error.

  • Why do I get error code 66A, during the installation of the security updates

    I have problems with error codes during installation of the security updates.

    Has 66 error code when trying to install KB2160841
    http://social.answers.Microsoft.com/forums/en/vistawu/thread/52538332-710e-4C29-BD5B-d08db7555bb3
    (Follow the steps described in this post by Diana D)

    Also, try the following steps (credit: Control_tps):

    1. go in programs and features, click on it.

    2. scroll to the bottom for Microsoft.Net Framework 4 Client Profile, do a right click.

    3. we will give you a choice of uninstall/change, click it.

    4. then it will give a choice to repair, choose repair.  It will take about 4 to 10 minutes to repair (with my PC), your experience may vary.

    5. Once finished, go to your update and new Update Center.

    See also: http://social.answers.microsoft.com/Forums/en-US/vistawu/thread/f1dd866f-85b7-4ae6-bc32-1c488c19742a
    Diana D. (Microsoft Support) credit

    J W Stuart: http://www.pagestart.com

Maybe you are looking for

  • What happens to the looks on my Apple Watch

    What happens to the looks on my Apple Watch

  • Question about the app from the App Store

    A screenshot of something related to the app from the App Store.  It has been around for years, but I can't find any reference to it.  What is c? It's a mystery. Mac mini end of 2012, i7 2.6 G, 16GB mem, El Capitan 10.11.6 It appears and disappears a

  • VI Analyzer Questions: Change the default test configuration and screw "Pavilion".

    I have two things I continue to come through in VI Analyzer: 1. are there in any case to set the default VI Analyzer so that it applies to all projects, I'm working on that? I tried to create a task in project A, registration of the configuration and

  • Problem with .exe and vi.lib

    Hi all!I'm building an .exe, but I have problem with vi.lib In my project, there is the main VI and the "dependencies" folder that contains a few VI of vi.lib.When I start my VI from the development system, it works fine. When I run the compiled VI (

  • HP Officejet Pro 8500 A909n

    I have a HP Officejet Pro 8500 A909n I've had for a while.  Recently it from printing in pink even though my settings was to black ink only.  Then he stopped and started printing in black.  Want to know what caused this. Also, I wanted to know if in