SQL syntax error

Solved
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. 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.
    1. If you correct him "in private", how do you expect others to benefit from it?
    2. Check the type and length for each column of the table.
    3. thank you for the help
    4. thank you honestly
      I love you