topical media & game development
server-webapi-code-09-searchingWithinACategory.php / php
<?php
function displayCatagoryListings(xml = getCategories(parent != -1)
{
echo "<div class=\"resultHeading\">";
echo '<span class=\"resultHeader\">Search this Category: <form method="get">
<input type="hidden" name="categoryname" value=""><input type="text"
name="query"><input type="submit"></span>';
echo "</div>";
}
foreach(category)
{
function doCategorySearch(category)
{
attributes = array();
attributes['Query'] = attributes['CategoryID'] = myRequest = generateBody(attributes);
myRequest);
call, query</span>";
echo "</div>";
if (results = array();
foreach(searchResult)
{
searchResult->Item;
}
displayItems(
(C) Æliens
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.