rule; $sql = "SELECT * FROM " . tablename('video_reply') . " WHERE `rid`=:rid"; $item = pdo_fetch($sql, array(':rid' => $rid)); if (empty($item)) { return false; } return $this->respVideo(array( 'MediaId' => $item['mediaid'], 'Title' => $item['title'], 'Description' => $item['description'] )); } }