Using nuSOAP to get XML as array

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
anjanesh
DevNet Resident
Posts: 1679
Joined: Sat Dec 06, 2003 9:52 pm
Location: Mumbai, India

Using nuSOAP to get XML as array

Post by anjanesh »

Hi

Is there anyway to get the xml data in an array when knowing the xml file alone ?

Code: Select all

<?php
require_once('nusoap/lib/nusoap.php');
$url = 'http://forums.devnetwork.net/rss.php';
$parameters = "";
$soap_client = new soapclient($url, 'xml');
$results = $soap_client->call('', $parameters);
print_r($results);
?>
Anyway to get this working ?

Thanks
Post Reply