Path: csiph.com!eeepc.pasdenom.info!news.pasdenom.info!news.dougwise.org!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeder.news-service.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Date: Sat, 05 Feb 2011 11:18:09 +0100 From: Luuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en_US; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 Newsgroups: comp.lang.php Subject: Re: Looping through Web Service results References: In-Reply-To: X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-ID: Lines: 21 NNTP-Posting-Host: 80.101.116.74 X-Trace: 1296901085 news.xs4all.nl 34849 [::ffff:80.101.116.74]:54581 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.php:11282 On 05-02-11 06:03, BigNate wrote: > Hi Folks > I'm having trouble displaying individual values of my SOAP results. I'm using the code below to connect to the web service: > > $client = new SoapClient($urlWSDL); > $result = $client->getVotes($userKey); > > I can see that it returns an array, using the dBug script, I can see everything in there, but I can't figure out how to loop through the array to see the individual columns. I'm used to looping through an array returned from a MySQL result with those functions, so I'm stuck with this one. Does anyone have any ideas? Any help would be greatly appreciated. > > Thanks, > > Nate http://www.php/net/foreach Try to create something with the info on that link, and i you get stuck someone here might point you further on the path, if you show what you did with that info.... -- Luuk