Files
spota-dev/admin/page/manajemendata/checknim.php
Power BI Dev efdb11db3f Add SPOTA core PHP application
Add the main admin, dosen, mahasiswa, API, and service code needed to run the core legacy application with configurable upload storage.
2026-05-02 10:08:52 +07:00

16 lines
345 B
PHP

<?php
session_start();
include ("../../../inc/helper.php");
include ("../../../inc/konfigurasi.php");
include ("../../../inc/db.pdo.class.php");
$db=new dB($dbsetting);
if($_POST['nim']){
$db->runQuery("SELECT idmhs FROM tbmhs WHERE nim='".$_POST['nim']."' LIMIT 1");
if($db->dbRows()>0){
echo "false";
}else{
echo "true";
}
}
?>