21,886
社区成员
发帖
与我相关
我的任务
分享
$connect = MYSQL_CONNECT( "localhost", "root", "rpot") or die("Unable to connect to MySQL server");
mysql_select_db( "database") or die("Unable to select database");
$query = "SELECT yuyin FROM `tab_voice` where id ='496356' LIMIT 0 , 1";
$result = @MYSQL_QUERY($query);
$data = @MYSQL_RESULT($result,0, "voicecontent1");
$type = @MYSQL_RESULT($result,0, "filetype");
Header( "Content-type: $type");
echo $data;