Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #11282

Re: Looping through Web Service results

Date 2011-02-05 11:18 +0100
From Luuk <Luuk@invalid.lan>
Newsgroups comp.lang.php
Subject Re: Looping through Web Service results
References <ada8aa89-5b04-424f-bdf6-daa1df265560@glegroupsg2000goo.googlegroups.com>
Message-ID <snkv18-8es.ln1@luuk.invalid.lan> (permalink)

Show all headers | View raw


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

Back to comp.lang.php | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Looping through Web Service results BigNate <bignate52@gmail.com> - 2011-02-04 21:03 -0800
  Re: Looping through Web Service results Luuk <Luuk@invalid.lan> - 2011-02-05 11:18 +0100

csiph-web