SimpleXML: get child nodes

前端 未结 3 1255
 






    
    
    &         


        
3条回答
  •  被撕碎了的回忆
    2020-12-21 02:50

    I don't know how to use the return of simplexml, but from what I have seen from your code, this should work:

    aaa[2]->bbb[2]->ccc[0];
    echo $xml->aaa[2]->bbb[2]->ccc[1];
    ?> 
    

提交回复
热议问题