<?php require "key.php"; $admin = new adminPage(); /** * Created by PhpStorm. * User: ITCOMP03 * Date: 12/3/2015 * Time: 9:25 AM */ switch ($_GET['aksi']) { default: try { $admin->beginTransaction(); $admin->query("SELECT * from movie"); $admin->execute(); $row = $admin->fetchAll(); $admin->endTransaction(); } catch (PDOException $e) { $err_kon .= "<div class='alert alert-danger'>{$e->getCode()} : Terjadi ERROR dalam pemanggilan data</div>"; } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta content="text/html; charset=iso-8859-1" http-equiv="content-type"/> <title>Show Table Sticker History</title> <link href="bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/> <link href="dataTables/dataTables.bootstrap.min.css" rel="stylesheet" type="text/css"/> <script type="application/javascript" src="dataTables/jQuery/jquery-1.11.3.min.js"></script>