<?php include '../../../lib/department.class.php'; include '../../../lib/office.class.php'; include '../../../lib/user.class.php'; $Userinfo = new User(); /*$deparment = new Department; $office =new Office;*/ $userid = $_GET['userid']; $userInfoByID = $Userinfo->GetUserListByID($userid); //$userInfoByID=$office->GetOffices(); /*$allOfficeName=$office->GetOffices(); $rowOffice=count($allOfficeName); $objDepartment=$department->GetDepartmentsByID($depid); $depOfficeID=$objDepartment["0"]["department_office_id"];*/ ?> <form id="userForm" name="userForm" method="post" onsubmit="return saveFormData(userForm)" action="includes/model/user_update_actions.php" > <div class="vertical_form"> <p> <label>User Name:</label> <input class="input" type="text" name="name" id="user_name" value="<?php echo $userInfoByID["0"]["user_name"]; ?> "> </p> <p> <label for="login">User Login Name</label>