hey,
if you could, provide an option to help return the field name or an option to pass field name to be returned
Sample code
public function equal($field_1, $field_2, $err_msg = '', $returnField=2){
.......
}
here returnField can either be the name of field to be returned or numeric position of fields as passed. Default can be 2 will return $field_2.
thank you