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.
15 lines
300 B
15 lines
300 B
<?php |
|
|
|
include '../../functions.php'; |
|
|
|
$id= $_REQUEST[id]; |
|
|
|
$conn=db__connect(); |
|
$result=db__getData($conn,"videoredirect","id",$id); |
|
|
|
header('Content-type: text/json'); |
|
|
|
if(count($result)) |
|
echo json_encode(array(id=>$result[0]['id'],toid=>$result[0]['toid'])); |
|
else json_encode(array(id=>0)); |
|
die(); |