"; $api = new api_call($xml, "4.1.0"); //$api->debug=true; $api->execute_api(); $category_info=$api->parsed[0]; $category_id = $category_info[0]["id"]; if ($category_id>0){ header("Location: ".$base_href.url("category")."category_id/$category_id"); }else{ header("Location: ".$base_href); } ?>