intval($_GET['sEcho']), "iTotalRecords" => $iTotal, "iTotalDisplayRecords" => $iFilteredTotal, "aaData" => array() ); while ( $aRow = mysql_fetch_array( $rResult ) ) { $row = array(); // Add the row ID and class to the object $row['DT_RowId'] = 'row_'.$aRow['id']; $row['DT_RowClass'] = 'grade'.$aRow['grade']; for ( $i=0 ; $i