MrAurora Posted May 5, 2014 Share Posted May 5, 2014 (edited) EDIT : Resolved, it's just PHP's var_dump func which not allow to display that data.Just an echo of name will display what I want Hello everyone ! I am a developer, I'm on Prestashop 1.5.6.2 and I need to work with Prestashop API, but I've something I don't understand, I explain you : On this screenshot, you can see I display category 17, and we can see his name (with a black line through), ok nice. But, when I try to parse xml with PHP, on my screen, I have got this : I show you a small part of code : case 'id_category_default' : $opt2 = array( 'resource' => 'categories', 'id' => '17' ); $xml2 = $webService->get($opt2); $resources2 = $xml2->children()->children(); echo "</table>"; echo "<pre>"; var_dump($resources2); echo "</pre>"; die; My question is : How display categories' name ? Because the xml parsed is really empty... Thank you in advance Edited May 5, 2014 by MrAurora (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now