After downloading and installing the Datatables , I downloaded the file that can be used to connect into a postgresql database and properly changed the following lines:
$aColumns = array( "ab", "cd");
/* Indexed column (used for fast and accurate table cardinality) */
$sIndexColumn = "id";
/* DB table to use */
$sTable = "bacon";
/* Database connection information */
$gaSql['user'] = "user";
$gaSql['password'] = "pass";
$gaSql['db'] = "db";
$gaSql['server'] = "host";
After configuring the db link i noticed the json the following values:
{
"sEcho": 0,
"iTotalRecords": 2,
"iTotalDisplayRecords": 2,
"aaData": [
["bacon", "salad"],
["1", "2"]
]
}
Which I believe its OK ( since it returns data )
But when I open the main page ( code can be opened here ) the result is No matching records found
I tried to find some guidance on the solution applied here but it didn't gave me success.
What could I be missing?
Thanks in advance.
'in your code near$aColumns =.