Revonzy Mini Shell
<?php
include('../../config.php');
require_once(PATH_LIBRARIES.'/classes/DBConn.php');
$db = new DBConn();
///*******************************************************
/// Edit Video Link
///*******************************************************
if($_POST['type']=="updateVideoLink")
{
$videoLink = mysql_real_escape_string($_POST['videoLink']);
$tblfield=array('Video_Link');
$tblvalues=array($videoLink);
$condition="Video_Id=".$_POST['id'];
$res=$db->updateValue('video',$tblfield,$tblvalues,$condition);
if (empty($res))
{
echo 0;
}
else
{
echo 1;
}
}
EliteHackz.ORG
Revonzy Mini Shell
root@revonzy.com