Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82108

Php + PostgreSQL = it Works, but doenst find records

$
0
0
Hello,

I will try to be quick and clean :)

Im using the script provided on this link http://datatables.net/development/server-side/php_postgres

Following, the changes i made on the file:

    /* Array of database columns which should be read and sent back to DataTables. Use a space where
     * you want to insert a non-database field (for example a counter or static image)
     */
    $aColumns = array( 'field1', 'field2', 'field3' );
     
    /* Indexed column (used for fast and accurate table cardinality) */
    $sIndexColumn = "id";
     
    /* DB table to use */
    $sTable = "the_table";
     
    /* Database connection information */
    $gaSql['user']       = "thegood";
    $gaSql['password']   = "thebad";
    $gaSql['db']         = "theugly";
    $gaSql['server']     = "thebacon";
     



And.. the output i get is:

No matching records found


Anyone have idea what i could be missing? =)

Viewing all articles
Browse latest Browse all 82108

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>