Fatal error: Cannot use object of type stdClass as array in
el for es este
for($i=0; $i<count($respuesta->filas); $i++){
if($respuesta->filas[$i]){
echo "<br>Entro For<br>";
for($i2=0; $i2<count($respuesta->filas[$i]->listaProductos); $i2++){
echo $respuesta->filas[$i]->listaProductos[$i2]->nombreProducto;
}
}
}
![triste](http://static.forosdelweb.com/fdwtheme/images/smilies/frown.png)
y la linea q me da el problema es esta o buen donde marca el error
echo $respuesta->filas[$i]->listaProductos[$i2]->nombreProducto;