dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: HELP:error in sql syntax

  1. #1
    Join Date
    Aug 2012
    Posts
    1

    HELP:error in sql syntax

    CAN anyone please tell me how to fix this:

    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 1

    thank you
    adriana

  2. #2
    Join Date
    Mar 2011
    Posts
    1,158
    It's impossible to be specific without seeing your code. This message simply means that there is a syntax error in the SQL query string. I usually find it's easiest to add some temporary code to print out the query string so I can see exactly what's being sent to the MySQL server. From there, it's usually pretty easy to spot where the problem lies.

  3. #3
    Join Date
    Sep 2012
    Posts
    3
    You may copy and execute in sql command window then get the feedback.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles