Update login.php
This commit is contained in:
@@ -5,17 +5,6 @@ session_start();
|
|||||||
if (isset($_SESSION['user_id'])) { header("Location: dashboard.php"); exit; }
|
if (isset($_SESSION['user_id'])) { header("Location: dashboard.php"); exit; }
|
||||||
|
|
||||||
include 'koneksi.php';
|
include 'koneksi.php';
|
||||||
echo "<pre>";
|
|
||||||
echo "HOST : ".$_SERVER['HTTP_HOST']."\n";
|
|
||||||
|
|
||||||
$result = mysqli_query($conn,"SELECT id,username,role FROM users");
|
|
||||||
|
|
||||||
while($row=mysqli_fetch_assoc($result))
|
|
||||||
{
|
|
||||||
print_r($row);
|
|
||||||
}
|
|
||||||
echo "</pre>";
|
|
||||||
exit;
|
|
||||||
|
|
||||||
$error = '';
|
$error = '';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user