prepare("select * from SavedVideo where Title like '%$search%' LIMIT ".strval($offset*20).", 20");
$stmt->execute();
$videos = $stmt->fetchAll();
foreach($videos as $video)
{
$class = "class=\"bg-danger\"";
if(strlen(video_exists($video["Id"],"PreMuxed")) > 0)
$class = "";
echo "".htmlspecialchars($video["Title"])."";
echo "
";
}
}
?>