Ver Mensaje Individual
  #8 (permalink)  
Antiguo 02/02/2013, 11:49
alex1084
 
Fecha de Ingreso: abril-2008
Ubicación: El Salvador
Mensajes: 736
Antigüedad: 16 años, 1 mes
Puntos: 47
Respuesta: Mostrar varias consultas mysql en tabla

Podes hacerlo asi:


echo '<table width="100%" border="0">';
echo "<tr><td>Titulo1</td><td>Titulo2</td></tr>";
while ($row = mysql_fetch_assoc($query))
{
echo "<tr><td>".$row['total_sexo_m_especialidad']."</td><td>".$row['carreras.nombre']."</td></tr>";
}
echo '</table>';