first commit
This commit is contained in:
9
dev/app/notif/cek_token.php
Normal file
9
dev/app/notif/cek_token.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
include('../koneksi.php');
|
||||
$data_user_id=$_POST['data_user_id'];
|
||||
$stoken=$_POST['stoken'];
|
||||
$data = pg_query("SELECT COUNT(*) FROM data_user WHERE id=$data_user_id AND tanggal_input='$stoken'");
|
||||
while($r=pg_fetch_array($data)) {
|
||||
echo $r[0];
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user