Server IP : 103.6.199.200 / Your IP : 3.15.228.162 Web Server : Microsoft-IIS/10.0 System : Windows NT EMPUSA 10.0 build 20348 (Windows Server 2016) i586 User : EMPUSA$ ( 0) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Domains/feenixmy/kunci.feenix.my/wwwroot/ |
Upload File : |
<?php session_start();ob_start();include "conn.php"; echo "sessionqridkunci3--> ".$_SESSION['QRIDKUNCI3']; //borrow $fpinj=mysqli_query($paut,"INSERT INTO pnj (idbil,ids,Stat,d,m,y,t,ts,Statp,dp,mp,yp,tp,tsp,kodinst) VALUES ('".$_SESSION['QRIDKUNCI3']."','".$_SESSION['UserID']."','1','".date("d")."','".date("M")."','".date("Y")."','".date("h:i A")."','".date("d M Y h:i A")."','0','0','','0','','','1')"); $kpinj=mysqli_query($paut,"UPDATE bil SET Stat='1' WHERE idbil='".$_SESSION['QRIDKUNCI3']."'"); $r=mysqli_query($paut,"SELECT * FROM bil, nms WHERE bil.idbil=".$_SESSION['QRIDKUNCI3']." AND nms.ids=".$_SESSION['UserID']."")or die("FAILED!!!"); while($r1=mysqli_fetch_array($r)){ $_SESSION['STAF'] = $r1['Nms']; //Nama Staf $_SESSION['BILIK'] = $r1['Nm']; //Nama Bilik $_SESSION['KBILIK'] = $r1['Kod']; //Kod Bilik $_SESSION['nopinPINJAM'] = $r1['Kod']; header("Location:qrinfo.php");ob_end_clean(); } ?>