复制代码 代码如下:
年份:<select id="year" onchange="send_request()">
select>
子目录:<select id="name">
select>
服务器端代码:
复制代码 代码如下:
header('Content-type: text/xml');
$xml="";
$year = $_GET["page"];
$content = $xml."
if($year == "1"){
$content = $content."
}
else if($year == '2'){
$content = $content."
}
else if($year == '3'){
$content = $content."
}
else if($year == '4'){
$content = $content."
}
echo $content;
?>