Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DevShed:
Fetching Search Results as Serialized Arrays with Yahoo Web Services and PHP 5
Jan 16, 2008 @ 13:51:00

DevShed has continued their series looking at using the Yahoo! web services with PHP5 in part two - their look at returning the results of a query in serialized arrays.

I'll show you how to parse the results returned by a determined web search service using a few array PHP processing functions. [...] Let's learn how to fetch results returned by the different Yahoo! Search Web Services in the form of serialized PHP arrays

You'll probably want to check out part one of the series before forging on to this second installment - there's a lot of good introductory information in there. With all of that information ingested, you'll have no problem following along with this next part.

They show how to get the results back from a search in an XML format and how, with the simple addition of an optional "output" parameter, can get the same information back in something PHP can natively use (the arrays).

tagged: yahoo webservice search result serialize array native php5 tutorial yahoo webservice search result serialize array native php5 tutorial

Link:


Trending Topics: