Okay so i\'m trying to display information from my database using jQuery DataTable (DataTables.net). I can get it to work fine displaying the entire table \'notes\' but I would
You can use where clause like that;
$data = SSP::sql_exec( $db, $bindings, "SELECT SQL_CALC_FOUND_ROWS ".implode(", ", SSP::pluck($columns, 'db'))." FROM $table where Status = 'Unread' // <--where clause here $where $order $limit" );