Welcome Guest, Not a member yet? Register   Sign In
How to fix query binding error?
#1

I am using query binding in my model with an array, and it seems to be working. However, I am encountering an error where the code is being detected as NULL by the CI, even though the data is still being inserted into the database. The issue is that after the error occurs, the code is unable to return anything, which makes it impossible to process the data in the views.

The error message I am receiving is: "You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)'. However, I know that the data is not actually NULL, as it is being successfully inserted into the database.

I would appreciate any help in resolving this issue.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB