<?php
include 'koneksi.php';
$now = date("Y:m:d");
$a = "SELECT * FROM pengujian WHERE id = '1'"; // ini nanti kamu ganti pake get boleh
$b = mysql_query($a);
$row = mysql_fetch_array($b);
echo $row['expired'] ;
echo '<br>';
if ($row['expired'] > $now) {
echo "false";
}
else {
echo "true";
}
exit;
?>