Wheneer i try to use echo or print_f it gives some error

Wheneer i try to use echo or print_f it gives some error

apysanapysan Posts: 3Questions: 2Answers: 0

Wheneer i try to use echo or print_f it gives some errors why it is so can not i use these to see the array data by using exiit() as we normally do in php or codeigniter ?

Please reply i have just start using Data Tables

Answers

  • tangerinetangerine Posts: 3,350Questions: 37Answers: 394
    edited February 2017

    it gives some errors

    What gives some errors, and what are the errors?
    You will get better help if you show your code with a better explanation.

  • allanallan Posts: 61,971Questions: 1Answers: 10,160 Site admin

    My guess is a JSON error which will link to this page explaining the issue and telling you how to debug it. It will also show the information that you have echo'ed out, thus making the return invalid JSON.

    Allan

This discussion has been closed.