Ver Mensaje Individual
  #3 (permalink)  
Antiguo 03/11/2012, 12:19
Avatar de nexus44
nexus44
 
Fecha de Ingreso: octubre-2012
Ubicación: Piura
Mensajes: 108
Antigüedad: 11 años, 6 meses
Puntos: 1
Respuesta: Ayudeneme a mejorar este html y php

registro.php

Código PHP:
Ver original
  1. <html>
  2. <HEAD><TITLE></TITLE>
  3. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  4. <style type="text/css">
  5. body {
  6.     background-color: #9F6;
  7. }
  8. </style>
  9. </HEAD>
  10.  
  11. <table align="center" border="1" width="70%">
  12. <?php
  13. $valor01=$_POST['texto'];
  14. $valor02=$_POST['nota'];
  15.  
  16. $x=1;
  17. echo "<tr><td colspan='5' align='center'><font color='red' face='arial' size='+2'><br><br><br></td></tr>";
  18. echo "<tr><td><font color='red'>Orden</font></td><td><font color='red'><center>Nombre y Apellidos</center></font></td><td><font color='red'>Calificacion</font></td></tr>";
  19.  
  20. for($i=0;$i<count($valor01);$i++){
  21. echo "<tr><td><font color='red'>$x\t</font></td>";
  22. echo "<td><font color='red'>$valor01[$i]</font></td><td><font color='red'>$valor02[$i]</font></td></tr>";
  23. $x=$x+1;
  24. }
  25.  
  26. ?>
  27. <br>
  28. </table>
  29. <br><br>
  30. <TABLE align="center" width="50%" border="1"><TR><TD align="center">
  31. <a href="formulario2.html">Ingresar Nueva Calificacionn</a>
  32. </TD></TR></TABLE>
  33. </BODY>
  34. </html>
__________________

"Nuestra capacidad se aleja de la Humanidad"