| Server IP : 172.64.80.1 / Your IP : 172.69.58.211 Web Server : Apache System : Linux mail.federalpolyede.edu.ng 5.10.0-32-amd64 #1 SMP Debian 5.10.223-1 (2024-08-10) x86_64 User : federalpolyede.edu.ng_idh35skikv ( 10000) PHP Version : 7.4.33 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/vhosts/federalpolyede.edu.ng/httpdocs/entranceform/ |
Upload File : |
<?php
session_start();
require('../connect.php');
$db=db_connect();
if(isset($_GET['formNo'])){
$formNo=$_GET['formNo'];
$gsm=$_GET['gsm'];
$sql="select * from stddata where formNo='$formNo' and gsm='$gsm'";
$result=$db->query($sql);
$result_fetch=$result->fetch();
$num =$result->rowCount();
if ($num==1 ) {
// $_SESSION['transID'] =$transID= $result_fetch['transID'];
$_SESSION['surname']=$surname = strtoupper($result_fetch['surname']);
$_SESSION['otherNames'] =$otherNames= $result_fetch['othernames'];
$_SESSION['dept'] =$dept= strtoupper($result_fetch['dept']);
$_SESSION['formType']=$formType = $result_fetch['formType'];
$_SESSION['email']=$email = $result_fetch['email'];
$_SESSION['gsm'] = $gsm=$result_fetch['gsm'];
$_SESSION['formNo'] =$formNo= $result_fetch['formNo'];
echo "Edit Biodata";
echo "O\'Level";
}
}else {
echo "Record Not Found";
}
//echo $transID.'_'.$formType;