Advertisement
Guest User

Untitled

a guest
Dec 9th, 2016
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. <?php
  2. include ("../conex.php");
  3.  
  4. $conSql = ("CALL LISTAR_ASIGNATURAS()");
  5. $datos=mysqli_query($conex,$conSql);
  6.  
  7. echo "<a style='font-size:16px;' href='../index.html'>Volver Atras</a>";
  8. echo " ";
  9. echo "<select name='asigna' id='y' style='width:280px; height:23px;'>";
  10. echo "<option value='0'>Seleccione una Asignatura...</option>";
  11.  
  12. while($fila=mysqli_fetch_assoc($datos)) {
  13. echo "<option value='".$fila["cod_asignatura"]."'>".$fila["nom_asignatura"]. "</option>";
  14. }
  15. echo "</select>";
  16. echo " ";
  17.  
  18. echo "<input type='submit' onclick=location.href='listarasig2.php?codA=".$selected_val."' value='Buscar'>";
  19. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement