header('Content-Type: application/json'); $res = arrayPHPToJS($rets); echo "{'sEcho':2,'iRecords':".count($rets).",'iDisplayRecords':".count($rets).",'aaData':".$res."}";
right php code
A static sEcho is not going to work - it needs to be dynamic, based on what is sent in.
sEcho
Beyond that, can you link to a debug trace showing that code in use?
Allan
It looks like you're new here. If you want to get involved, click one of these buttons!
Answers
right php code
A static
sEcho
is not going to work - it needs to be dynamic, based on what is sent in.Beyond that, can you link to a debug trace showing that code in use?
Allan