emazara 0 Newbie Poster

hi everyone! i glad if you can help me to solve this problem.

now, i developing student industrial training system. but there is problem with display box where I would like to display more 10 records student from database and will choose a lecturer to monitor a few students when industrial training. this lecturer list taken from database and will be display in listbox. but listbox lecturer only display in first record list of students. so for the second row and etc, the list of lecturer not display.

<?
while ($record=mysql_fetch_array($result)) {
?>
        <tr>
          <center>
		  <td width="10%" class="style7"><div align="center" class="style33">
		  <input type="text" size="30" name="PEL_Nama[]" id="PEL_Nama[]" value="<? echo $record["PEL_Nama"]?>" />
		</td>
		<td width="10%" class="style7"><div align="center" class="style33">
		  <input type="text" size="8" name="PEL_Matrik[]" id="PEL_Matrik[]" value="<? echo $record["PEL_Matrik"]?>" />
		</td>
            <td width="10%" class="style7"><div align="center" class="style33">
			 <input type="text" size="30" name="PP_Syarikat[]" id="PP_Syarikat[]" value="<? echo $record["PP_Syarikat"]?>" />
            </td>
			</td>
		<td width="10%" class="style7"><div align="center" class="style33">
		  <input type="text" size="8" name="PP_Bandar[]" id="PP_Bandar[]" value="<? echo $record["PP_Bandar"]?>" />
		</td>
		</td>
	

		<td width="10%" class="style7"><div align="center" class="style33">
              <div align="center"><strong><span class="style26">
			  
			  <? echo "<select name=PENA_Nama[] value=''>Penyelia</option>";
// printing the list box select command

while($nt=mysql_fetch_array($result2)){//Array or records stored in $nt
echo "<option value=$nt[PENA_ID]>$nt[PENA_Nama]</option>";
/* Option values are added by looping through the array */
}
echo "</select>";
?>

please help me, thank you!