SQL syntax error

Solved
Viky -  
PLIPLAPLO Posted messages 1 Status Member -
Hello,

I have a personal website where I use a database (the one offered by Free).

I received this error:

"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"

I don't know where my problem comes from. Line 1 does not correspond to SQL syntax.

Can someone guide me to tell me where my error originates?
Thank you in advance

Viken

17 answers

  1. ntui
     
    There is a ' or a " or an extra space instead of a char
    example:
    insert into toto values('integer_type_value')
    instead of
    insert into toto values(integer_type_value)
    check your query carefully and correct it.
    if it persists, send me a sample of your query to address removed by moderation and I will provide you with the solution.
    19
    1. chuibete
       
      If you correct him "in private", how do you expect others to benefit from it?
      3
    2. najib
       
      Check the type and length for each column of the table.
      0
    3. Laurent
       
      thank you for the help
      0
    4. PLIPLAPLO Posted messages 1 Status Member
       
      thank you honestly
      I love you
      0