Skip to content

Instantly share code, notes, and snippets.

@SenpaiSilver
Created December 11, 2014 05:13
Show Gist options
  • Save SenpaiSilver/e50e5d717d080563f8cb to your computer and use it in GitHub Desktop.
Save SenpaiSilver/e50e5d717d080563f8cb to your computer and use it in GitHub Desktop.
<?php
function __autoload($classname)
{
$filename = str_replace("..", "", "./". $classname .".class.php");
if (file_exists($filename))
include_once($filename);
}
?>
<!DOCTYPE HTML>
<html>
<head>
<title>MuhTester</title>
<link rel="stylesheet" href="./style.css" />
<meta charset="UTF-8" />
<script src="./jquery.min.js"></script>
<script src="./micro.js"></script>
</head>
<body>
<?php
$sql = new SQL();
$ret = $sql->Fetch("SELECT * FROM t_meh");
// $ret = $sql->Execute("SELECT * FROM t_meh");
// var_dump($ret);
// echo("<pre>" .json_encode($ret, JSON_PRETTY_PRINT). "</pre>");
$sql->DPrintLast();
echo $sql->DQueryTime()."ms";
?>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment