Ver Mensaje Individual
  #5 (permalink)  
Antiguo 31/10/2013, 17:31
Avatar de Triby
Triby
Mod on free time
 
Fecha de Ingreso: agosto-2008
Ubicación: $MX->Gto['León'];
Mensajes: 10.106
Antigüedad: 15 años, 8 meses
Puntos: 2237
Respuesta: Las Relaciones entre SubCategoria y Productos

Pues sí, necesitas otro while, porque en:

Código PHP:
Ver original
  1. $sqlSubF = "SELECT * FROM productos WHERE idSubFamilia = $IdentSubCatego";            
  2.                 $resSubF = mysqli_query($idcon, $sqlSubF);
  3.                 $filaCat = mysqli_fetch_assoc($resSubF);

Con $filaCat = mysqli_fetch_assoc() estás leyendo un registro y, lógicamente, no puedes mostrar más si no lo haces en un bucle.
__________________
- León, Guanajuato
- GV-Foto