复制代码
php代码
query(call employee_list( $dept_id ))) {
print (' '. 'employee_id surname firstname
'); while ($row = $result_set->fetch_object()) { printf(%s %s %s
\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 (
); $dbh->close();}?>
复制代码