<div id="exam_id" style="disply:none;"></div> <table class="searchField" border="0" cellspacing="0" cellpadding="0"> <tr> <th>批次上传:(一行一笔数据,数据格式为 "工号"。直接在表格上修改考试人员异动)</th> </tr> <tr> <td><Textarea name=newUsersBatchInput rows=30 cols=100 placeholder="员工号 如 E99999"><?php // read roll $str_query = "select * from Question where QuestionId={$question_id} AND Status=" . ACTIVE; if ($result = mysqli_query($link, $str_query)) { $row_number = mysqli_num_rows($result); $row = mysqli_fetch_assoc($result); $userids = $row["UserList"]; if (strlen($userids) > 0) { get_employ_id_from_user_id($userids); } } ?> </Textarea></td> </tr> <tr> <th colspan="4" class="submitBtns"> <a class="btn_submit_new modifyUsersContent"><input name="modifyUsersButton" type="button" value="保存" OnClick="modifyUsersContent(<?php echo $question_id; ?> )"></a> </th> </tr> </table>
<div id="exam_id" style="disply:none;"></div> <table class="searchField" border="0" cellspacing="0" cellpadding="0"> <tr> <th>批次上传:(一行一笔数据,数据格式为 "工号"。直接在表格上修改考试人员异动)</th> </tr> <tr> <td><Textarea name=newUsersBatchInput rows=30 cols=100 placeholder="员工号 如 E99999"><?php // read roll $str_query = "select * from examroll where ExamId={$exam_id} AND Status=" . ACTIVE; if ($result = mysqli_query($link, $str_query)) { $row_number = mysqli_num_rows($result); for ($i = 0; $i < $row_number; $i++) { $row = mysqli_fetch_assoc($result); $user_id = $row["UserId"]; $employee_id = get_employ_id_from_user_id($user_id); echo "{$employee_id}\n"; } } ?> </Textarea></td> </tr> <tr> <th colspan="4" class="submitBtns"> <a class="btn_submit_new modifyUsersContent"><input name="modifyUsersButton" type="button" value="保存" OnClick="modifyUsersContent(<?php echo $exam_id; ?> )"></a> </th> </tr> </table>