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


Groups > comp.lang.php > #11282

Re: Looping through Web Service results

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 <Luuk@invalid.lan>
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 <ada8aa89-5b04-424f-bdf6-daa1df265560@glegroupsg2000goo.googlegroups.com>
In-Reply-To <ada8aa89-5b04-424f-bdf6-daa1df265560@glegroupsg2000goo.googlegroups.com>
X-Enigmail-Version 1.1.1
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding 7bit
Message-ID <snkv18-8es.ln1@luuk.invalid.lan> (permalink)
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

Show key headers only | 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