You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
460 B
14 lines
460 B
<?php |
|
|
|
include '../../functions.php'; |
|
|
|
header('Access-Control-Allow-Origin:*'); |
|
|
|
$id= $_REQUEST[id]; |
|
|
|
$conn=db__connect(); |
|
$result=db__getData($conn,"video","id",$id); |
|
|
|
header('Content-type: text/json'); |
|
echo json_encode(array(id=>$result[0]['id'],series=>$result[0]['series'],name=>$result[0]['name'],type=>$result[0]['type'],url1=>$result[0]['url1'],url2=>$result[0]['url2'],idd=>$result[0]['idd'],vcode=>$result[0]['vcode'],aid=>$result[0]['dans'])); |
|
die(); |