历史档案

选择设备,然后按“搜索”按钮检索所有可用的文档

selected=”selected”<? } ?>> }
mysqli_close($con);
} else {
echo ”

  • Failed to connect to MySQL:

“;
}
?>

if (isset($_POST[‘submit’])) {
$selected_val = $_POST[‘REL’]; // Storing Selected Value In Variable
if ($con = mysqli_connect(“intranet.wamblee.it”, “fromweb”, “NfODHTLnAOCxgnFI”, “wamblee_db_product”)) {
$item = 1;
while ($item < 9) { switch ($item) { case 1: $typedoc = “TY01″; $Desc=”用户手册”; break; case 2: $typedoc = “TY02″; $Desc=”声明和法律文件”; break; case 3: $typedoc = “TY03″; $Desc=”补充笔记”; break; case 4: $typedoc = “TY04″; $Desc=”召回公告”; break; case 5: $typedoc = “TY05″; $Desc=”贸易文件”; break; case 6: $typedoc = “TY06″; $Desc=”图片”; break; case 7: $typedoc = “TY07″; $Desc=”软件和固件”; break; case 8: $typedoc = “TY08″; $Desc=”安全”; break; default: break; } $result = mysqli_query($con, “select description, id_doc, language, image, protect from wamblee_info_link where product = ‘$selected_val’ and typedoc=’$typedoc’ order by language asc”); if (mysqli_num_rows($result)!=0) { ?>


 

“)’>

$item++;
}
} else {
echo ”

  • Failed to connect to MySQL:

“;
}
}
?>