categories.select Test Start

setCredentials("USERNAME","API KEY"); $Client->setDebug($newdebuglevel); $Client->setSSLVerifyPeer(false); $Client->setSSLVerifyHost(false); $Client->return_type = "phpvals"; //forces return as php values $SiteName = "SITENAME"; ////////////test code ////////////code doesn't include error checking $siteobj = new WikidotSite($SiteName, $Client); $returnarray = array(); echo "

categories.select example



"; $siteobj->php_categories_select($SiteName, $returnarray); foreach($returnarray as $key => $data){ echo $key.": ".$data."
";} ?>