Skip to content
Advertisement

Tag: json

PDO Connection with Json data [closed]

I want to get a PDO Connection with data from a json config file. I currently have this, but it doesn’t work and throws a fatal PDOException error $cfg = json_decode(“../config/config.json”); $host =…

Datatables warning table id=datatables-example – invalid json response

Here I am new to ajax DataTables. I am trying to connect my database and fetch records to the dataTable. But I got this error: datatables warning table id=datatables-example – invalid json responseFor more information about this error, please see http://datatables.net/tn/1 I have followed the tutorial called web lesson, in case I tried to find a solutions on internet but

Advertisement