include("search_cr_news.php");
include("db.func");
$ID=$_REQUEST["ID"];
mysql_connect ("localhost","root","Yu878}");
mysql_select_db("Search");
$updatehits="update Dance set Hit=Hit+1 where ID=$ID";
mysql_query($updatehits);
$sql = "select * from Dance Where ID=$ID";
$rows = GetRows("Search", $sql);
$num = mysql_num_rows($rows);
if ( ! $num ) {
$Msg = "此一影片/音樂已被刪除!";
header("Location:movie.php?Msg=$Msg"); /* Redirect browser */
};
list($ID, $Date, $Name, $English, $Country, $Music, $Movie, $Remark, $Hit) = mysql_fetch_row($rows);
if (strlen($Movie)> 0 )
{$URL=$Movie;};
?>