Employee listing

Enter Department ID:

query("call employee_list( $dept_id )")) { print (' '. ''); while ($row = $result_set->fetch_object()) { printf("\n", $row->employee_id, $row->surname, $row->firstname); } } else { printf("

Error:%d (%s) %s\n", mysqli_errno($dbh), mysqli_sqlstate($dbh), mysqli_error($dbh)); } print ("

Employee_idSurnameFirstname
%s%s%s
"); $dbh->close(); } ?>