Doubtful. The issue was not related to inserting data into the database, but with javascript parsing the result into a JSON object.