How do I get the data?

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

How do I get the data?

Postby dgmufasa » Wed Nov 09, 2011 9:36 am

Hello all,
I have written the following code. It returns data (which is listed in the picture attached). I need to get the values highlighted in red: IDAssigned, ReturnCode, ReturnMessage.

How can I do this? What PHP code can I write?

TIA
Syntax: [ Download ] [ Hide ]
        function __construct( )
        {
                try {

                        //from: https://bugs.php.net/bug.php?id=47492
                        $this ->wmclient= new SoapClient( $this -> soap_location, array('features' => SOAP_USE_XSI_ARRAY_TYPE + SOAP_SINGLE_ELEMENT_ARRAYS  ));

                } catch (SoapFault $e) {
                        echo "<br /> => Caught A SOAP Fault" . $this ->wmclient ->__getLastResponse();
                        die( '<br /> => SOAP Error DOMAIN RECORDS: '.$e->getMessage());
                }
        }


        $parameters = [ ... ] < - clipped this out

        $ret = $this -> wmclient ->__soapCall("CreateHeadquartersUser", $parameters);



The results are in the picture attached.
Attachments
PICTURE.png
Last edited by Benjamin on Wed Nov 09, 2011 6:49 pm, edited 1 time in total.
Reason: Added [syntax=php|sql|css|javascript] and/or [text] tags.
dgmufasa
Forum Newbie
 
Posts: 1
Joined: Wed Nov 09, 2011 9:27 am

Return to PHP - Code

Who is online

Users browsing this forum: Exabot [Bot], Yahoo [Bot] and 7 guests