set_maxlength() set_maxlength( $col, $maxlength) Set max input length for a field Parameters mixed $col Database table column name int $maxlength max numbers of characters allowed No related content found. Tags: max length