Ver Mensaje Individual
  #3 (permalink)  
Antiguo 05/11/2018, 21:17
karenlorenadg
 
Fecha de Ingreso: octubre-2008
Ubicación: Colombia
Mensajes: 448
Antigüedad: 15 años, 7 meses
Puntos: 2
Respuesta: Mostrar listado según el grado del estudiante

Código PHP:
Ver original
  1. $query = "select * from table_matric_notas where grado_est=".$_SESSION['idalumno']." order by name_est desc";     // Esta linea hace la consulta
  2.                         $result = mysql_query($query);
  3.  
  4.                         while ($registro = mysql_fetch_array($result)){
  5.  
  6.                         echo "
  7.                        <a href='#' class='news-item-title'>".$registro['name_est']."</a> GRADO: ".$registro['grado_est']."</b>
__________________
Desarrollo de Aplicaciones de Escritorio, Sitios Web, Audio y Video en SISGUS