Código:
POR EJEMPLO: Si selecciono la marca Nike que me duelva en pantalla:<?php $cantidad = array ( 'nike' => array ( 'modeloa'=> array ( '35' => 3, '36' => 6, '37' => 8, '38' => 7, '39' => 2, '40' => 0 ), 'modelob'=> array ( '35' => 3, '36' => 6, '37' => 8, '38' => 7, '39' => 2, '40' => 0 ), ), 'puma' => array ( 'modeloa'=> array ( '35' => 3, '36' => 6, '37' => 8, '38' => 7, '39' => 2, '40' => 0 ), 'modelob'=> array ( '35' => 3, '36' => 6, '37' => 8, '38' => 7, '39' => 2, '40' => 0 ), ), 'zara' => array ( 'modeloa'=> array ( '35' => 3, '36' => 6, '37' => 8, '38' => 7, '39' => 2, '40' => 0 ), 'modelob'=> array ( '35' => 3, '36' => 6, '37' => 8, '38' => 7, '39' => 2, '40' => 0 ), ), ); ?>
modeloa - modelob
Salu2 y Muchas Gracias