檔案下載
include("func/DB_HANDLE.inc.php"); $strSQL = "SELECT files.Files_title, files.Files_cont, files.Files_file, files.Files_file_1, files_type.Type_name FROM files INNER JOIN files_type ON files.Files_type = files_type.Files_type WHERE NOW() BETWEEN files.Start_date AND files.End_date ORDER BY files_type.Files_type"; $sql_result = mysql_query($strSQL); $_AryFiles = array(); while ($row = mysql_fetch_array($sql_result)) { $_AryFiles[$row["Type_name"]][] = $row; } ?>