I try to read a blob field with DataTables Server-side processing but I can't. I suppose than I should transform to base64, but I don't know how it works.
$columns = array(
array('db' =>'ID','dt'=>0),
array('db'=>'LOGIN','dt'=>1),
array('db'=>'IMG','dt'=>2)
);
$sql_details = array(
'user' => 'x',
'pass' => 'x',
'db' => 'x',
'host' => 'x',
'charset' => 'utf8'
);
require( 'scripts/ssp.class.php' );
echo json_encode(
SSP::simple( $_POST, $sql_details, $table, $primaryKey, $columns)
);