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.
This commit is contained in:
16
admin/page/manajemendata/checkkodefakultas.php
Normal file
16
admin/page/manajemendata/checkkodefakultas.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
session_start();
|
||||
include ("../../../inc/helper.php");
|
||||
include ("../../../inc/konfigurasi.php");
|
||||
include ("../../../inc/db.pdo.class.php");
|
||||
|
||||
$db=new dB($dbsetting);
|
||||
if($_POST['idFak']){
|
||||
$db->runQuery("SELECT idFak FROM tbfakultas WHERE idFak='".$_POST['idFak']."' LIMIT 1");
|
||||
if($db->dbRows()>0){
|
||||
echo "false";
|
||||
}else{
|
||||
echo "true";
|
||||
}
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user