tengo el sgte codigo
Código HTML:
<tr> <td align="center"><?=$us['id'];?></td> <td align="center"><?=$us['n_matricula'];?></td> <td align="center"><?=$us['alumno_nom'];?> <?$us['alumno_nom'];?></td> <td align="center"><input type="text" size="1" readonly="readonly" value="<?=$us['sol1'];?>"</td> <td align="center"><input type="text" size="1" readonly="readonly" value="<?=$us['sol2'];?>"</td> <td align="center"><input type="text" size="1" readonly="readonly" value="<?=$us['ctrl1'];?>"</td> <td align="center"><input type="text" size="1" readonly="readonly" value="<?=$us['ctrl2'];?>"</td> <td align="center"><input type="text" size="1" readonly="readonly" value="<?=$us['ctrl3'];?>"</td> <td align="center"><input type="text" size="1" readonly="readonly" value="<?=$us['ctrl4'];?>"</td> <td align="center"><input type="text" size="1" readonly="readonly" value="<?=$us['examen'];?>"</td> <td align="center"><?=promedio($us['sol1'], $us['sol2'], $us['ctrl1'], $us['ctrl2'], $us['ctrl3'], $us['ctrl4'], $us['examen']);?></td> <td align="center"><input type="button" name="Editar" value="Editar"</td>
esop grax