php response is php content
php response is php content
oolcay
Posts: 1Questions: 1Answers: 0
i use to datatable but ajax php response is php content file
when i run the php file output is true. but run my web application i get error that invalid json response
my datatable code is below.
Answers
That's a problem with your website, you haven't installed the PHP components correctly - I've done the same in the past. This SO thread should get you going - it's listing the steps you need to do.
Colin
Possibly you just need to add
header('Content-type: application/json');
as discussed in this SO thread.Kevin
I'd guess that PHP either isn't installed or that the HTTP server isn't setup to use PHP for
.php
files.What web-server are you using @oolcay?
Allan