- function emptyCheck() {
- $args = func_get_args();
- $num = func_num_args($args);
- $val = 0;
- while($val == $num) {
- if($args == "") {
- $error = "<li>Not all of the required fields were completed, please return and enter all required fields</li>";
- break;
- }
- $val++;
- }
- $this->errors = $error;
- return $this->errors;
- }
