Porque no muestra los resultados ordenados en que estoy mal..........
Código PHP:
$resultN=mysql_query("select * from nota where postgrado='$codigo' and año=$año");
while ($not=mysql_fetch_array($resultN)) {
$resultA=mysql_query("select * from datos_alumno ORDER BY apellido ASC");
while ($part=mysql_fetch_array($resultA)){
if ($part[0] == $not[1]){
$i= $i + 1;
echo "<tr>";
echo "<td>$i</td>";
echo "<td>$part[2], $part[1]</td>";
echo "<td>$part[0]</td>";
echo "<td><img src='$part[10]'></td>";
echo "<td><input type='text' name='ident[$part[0]]' value='$not[$no]' id='inputnota' maxlength='2'></td>";
echo "</tr>";
}
}
}