Commit 1af3a788 authored by Paarth's avatar Paarth

minor

parent 3cec69dd
<?php <?php
include_once("database.php"); include_once("database.php");
if($_SERVER['REQUEST_METHOD'])){ if($_SERVER['REQUEST_METHOD'] === 'GET')){
$sql1 = "SELECT Now()"; $sql1 = "SELECT Now()";
$currtime = $mysqli->query($sql1); $currtime = $mysqli->query($sql1);
$sql2 = "SELECT * FROM questions WHERE stime <= $currtime and etime >= $currtime"; $sql2 = "SELECT * FROM questions WHERE stime <= $currtime and etime >= $currtime";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment