Invalid Json reponse with extrawhere condition

Invalid Json reponse with extrawhere condition

zlenzlen Posts: 5Questions: 2Answers: 1

I use the PHP SSP class from this address : http://74.207.246.202/ssp/example/.

With this class, all my pages using Datatable work because it allows me to put the conditions in the SQL query. In recent days, I try to parse the result of two new tables (with the same column names as those in which I already use Datatable and it works) and I get the error tn/1 saying Datatable can not encode JSON return of the script.

What is very strange is that if I do a var_dump ($results), I get a good result makes sense. Why json_encode does not?

I also noticed that if I apply the condition "column_id = 1", so using the "=" json is not created. What can produce it, knowing that it works fine on all other pages?

This question has an accepted answers - jump to answer

Answers

This discussion has been closed.