the problem is:
i wont to print the name of pationt here
<input name="Name" type="text" id="title"/>
when i select the number of him from here
<select name="FileNo" id="select2" onChange="change_title();">
<?
$query="SELECT * FROM employee";
$result=mysql_query($query) or die("error: " . mysql_error());
while($row=mysql_fetch_array($result))
{
echo "NO";
?>
<option value="<?php echo $row['FileNo'] ; ?>"><?php echo $row['FileNo'] ; ?></option>
<?
}
?>
</select>