PHP Classes

File: category.php

Recommend this page to a friend!
  Classes of Faris AL-Otabi   Netflix Clone   category.php   Download  
File: category.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Netflix Clone
Manage a library of movies to rent like Netflix
Author: By
Last change:
Date: 2 months ago
Size: 337 bytes
 

Contents

Class file image Download
<?php
require_once("includes/header.php");

if(!isset(
$_GET["id"])) {
   
ErrorMessage::show("No id passed to page");
}

$preview = new PreviewProvider($con, $userLoggedIn);
echo
$preview->createCategoryPreviewVideo($_GET["id"]);

$containers = new CategoryContainers($con, $userLoggedIn);
echo
$containers->showCategory($_GET["id"]);
?>