Simular un next del recordset en php de forma rudimentaria
- 5. <h1 align="center">EVALUACIONDEPROCESAMIENTODE DATOS</h1>
</head>
<body>
<label><h2align="center">programaque determinael listadode alumnosysusrespectivas
notas</h2></label>
<table border="2" weigth="800"align="center">
<tr>
<td>ALUMNOS</td>
</tr>
<tr>
<td>
<form name="form"method="POST"action="<?phpecho$_SERVER['PHP_SELF'];?>">
<fieldset>
<legend>DATOSDELALUMNO</legend>
<br />CEDULA <inputtype="text"name="cedula1"autofocus><br/>
<br />NOMBRE <inputtype="text"name="nombre1"><br/>
<br />NOTA 1 <inputtype="text"name="nota1"><br/>
<br />NOTA 2 <inputtype="text"name="nota2"><br/>
<br />NOTA 3 <inputtype="text" name="nota3"><br/>
<br />
<br /><inputtype="submit"name="boton"value="Inicializar"><inputtype="submit"
name="boton1"value="incluir"><inputtype="submit"name="boton2"value="Mostrar">
</fieldset>
</form>
- 7. <fieldset>
<legend>DATOSDELOS ALUMNOS</legend>
<br />CEDULA <inputtype="text" value="<?phpecho$z[1];?>" name="cedulam"
onFocus="this.blur()"><br/>
<br />NOMBRE <inputtype="text"value="<?phpecho$z[2];?>" name="nombrem"
onFocus="this.blur()"><br/>
<br />NOTA 1 <inputtype="text"value="<?phpecho$z[3];;?>"name="nota1m"
onFocus="this.blur()"><br/>
<br />NOTA 2 <inputtype="text"value="<?phpecho$z[4];;?>"name="nota2m"
onFocus="this.blur()"><br/>
<br />NOTA 3 <inputtype="text"value="<?phpecho$z[5];?>"name="nota3m"
onFocus="this.blur()"><br/>
<br/><br/><input type="button"name="boton4"value="Reporte"onclick=
"javascript:window.open('ejemplo2.php')">
</fieldset>
<?php
}
?>
</form>
</table>
</body>
</html>
Ejemplo2.php
<?php