Loading ...
Sorry, an error occurred while loading the content.

Re: Need help with mysql error

Expand Messages
  • Amin
    add is a reserve keyword of mysql. Thats why when you use add as a field name, mysql get the add word as their keyword. you can avoid this bug in two ways: 1.
    Message 1 of 2 , Jun 21, 2013
    • 0 Attachment
      add is a reserve keyword of mysql. Thats why when you use add as a field name, mysql get the add word as their keyword.

      you can avoid this bug in two ways:

      1. use backticks (``) to write your fields & tables in the query.

      2. rename the fields name that are same of mysql reserve keyword.



      wish my solution work for you.


      Md. Shah Alom Hossen Amin
      Programmer (PHP, J2EE),
      +88 01935946949
      http://dealsinbd.com/
      http://tutpub.com/
    Your message has been successfully submitted and would be delivered to recipients shortly.