Finds the biggest numeric value in given field. (For the smallest value, use ptb_min.)
This function returns integer when used on field with numeric value or null if database is empty.
$lastYear = ptb_max($myDatabase, 'year');