PHP Package JSON problem

PHP Package JSON problem

yivnyivn Posts: 3Questions: 3Answers: 0

I'm using Editor php package to generate the JSON,
but the JSON feedback seems a little bit more:

{"data":[{"DT_RowId":"row_1","sc_users":{"name":"yivn","email":"admin@hagongyi.com","created_at":"2015-05-05
 05:15:23"},"sc_orgnizations":{"name":"test"}}],"options":[],"draw":1,"recordsTotal":"1","recordsFiltered"
:"1"}{"version":"1.4.2"}

You can see the last "version" words makes the JSON invalid...
Has anybody met the same problem like me?

Answers

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin

    That certainly shouldn't be there - can you show me the PHP you are using please?

    Allan

This discussion has been closed.