json_encode
json_encode
I recently started using json_encode in php instead of hand rolling the json output.
However I notice that datatables produces the following html markup;
It doesn't cause any problems, but i think it is invalid markup because of the a and < attributes in the tag.
My json responce (from json_encode) is;
"aaData":[["COMP 270","ae2134y compressor","",""]]
However I notice that datatables produces the following html markup;
It doesn't cause any problems, but i think it is invalid markup because of the a and < attributes in the tag.
My json responce (from json_encode) is;
"aaData":[["COMP 270","ae2134y compressor","",""]]
This discussion has been closed.
Replies
Allan
Well spotted.