Location: PHPKode > projects > Decider > decider/Analyst/editanalyst.php
<html>
<head><link rel="stylesheet" type="text/css" href="../common/styles.css" />

<title>Registering Analyst</title>
</head>
<body>
<form method="post" action="analysttab.php">
<table border="0">
<tr>
	<td class="label">ID </td>
	<td><input type="text" id="analyst_id" name="analyst_id" class="textbox"><td>
</tr>
<tr>
	<td class="label">Name</td>
	<td><select id="analyst_name" name="analyst_name" class="select" onChange="showHint(this.value)" >
	<option>-select-</option>
		<?php
		require("../common/database.php");
		 $result = mysql_query( "SELECT Name FROM analyst");
			 while($row=mysql_fetch_array($result)){
			 	?>
				<option value="<?php echo $row['Name']?>"><?php echo $row['Name']?></option>
				<?php
			 } 
		?>
	</select></td>
</tr>

<!-- Experiment -->
<tr>
  <td class="label">New Name</td>
  <td><input type="text" id="analyst_new_name" name="analyst_new_name" value="<?php echo $row['Name']?>" class="textbox"><br></td>
</tr>
<!-- Experiment -->

<tr>
	<td class="label">Address</td>
	<td><input type="text" id="analyst_address" name="analyst_address" class="textbox"></td>
</tr>
<tr>
	<td class="label">Work Tel. No</td>
	<td><input type="text" id="analyst_work_telno" name="analyst_work_telno" class="textbox"></td>
</tr>
<tr>
	<td class="label">Home Tel. No</td>
	<td><input type="text" id="analyst_home_telno" name="analyst_home_telno" class="textbox"></td>
</tr>
<tr>
	<td class="label">Mobile No</td>
	<td><input type="text" id="analyst_mobileno" name="analyst_mobileno" class="textbox"></td>
</tr>
<tr>
	<td class="label">Email</td>
	<td><input type="text" id="analyst_email" name="analyst_email" class="textbox"></td>
</tr>
<tr>
	<td class="label">User Name</td>
	<td><input type="text" id="analyst_username" name="analyst_username" class="textbox"><br></td>
</tr>
<tr>
	<td class="label">Password</td>
	<td><input type="text" id="analyst_password" name="analyst_password" class="textbox"><br></td>
</tr>

<tr></tr>
<tr></tr>
<tr></tr>
<tr></tr>
<tr></tr>

<tr><td></td>
<td><input type="submit" value="      Edit      " class="button" name="edit">
<input type="reset" value=" cancel " class="button"></td>
<img src="../common/HelpIcon.gif" height="30" width="30" type="" name="Submit"  id="editanalysthelp" onClick="handleSearchSuggest(this.id)" class="pointer"><div id="help" class="length" >
 </div>
</td>
</tr>

</table>

</form>

</body>
</html>
Return current item: Decider