When posting an error, it is advisable to post the code that caused the error.
Also, if you find an answer to your own post, it is good forum etiquette to share the answer so that others may learn.
Sorry for not posting the code
and the answer that I found was when I was going through MYSQL forums.
I am using a table which has many fields and I spelled a field wrongly
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.