# Below from the .cfg just so you know what the fields are, you can make them anything you want. # Just be sure know the field number for Prodigy as it is used in the sub get_parents (in the .cgi file). # Database Definition # -------------------------------------------------------- # Definition of your database. Format is # field_name => ['position', 'field_type', 'form-length', 'maxlength', 'not_null', 'default', 'valid_expr'] %db_def = ( 'record' => [ 0, 'numer', 20, 255, 1, '', ''], 'userid' => [ 1, 'alpha', 50, 255, 1, '', ''], 'User_email' => [ 2, 'alpha', 50, 255, 1, '', ''], 'User_name' => [ 3, 'alpha', 50, 255, 1, '', ''], 'User_company' => [ 4, 'alpha', 50, 255, 1, '', ''], 'Prodigy' => [ 5, 'alpha', '50', 225, 1, '', ''], 'Mother' => [ 6, 'alpha', 50, 255, 0, '', ''], 'Father' => [ 7, 'alpha', 50, 255, 0, '', ''], 'Comments' => [ 8, 'alpha', '50x5', 1000, 0, '', ''], 'Gender' => [ 9, 'alpha', 50, 255, 0, '', ''], 'other1' => [10, 'alpha', 50, 255, 0, '', ''], 'other2' => [11, 'alpha', 50, 255, 0, '', ''] );