| Server IP : 172.64.80.1 / Your IP : 172.70.50.62 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_backup/admissionProcess/ |
Upload File : |
<?php
/**
* Created by PhpStorm.
* User: fpe
* Date: 4/19/2020
* Time: 9:41 PM
*/
session_start();
require_once('../connect.php');
$db=db_connect();
if(isset($_GET['formNo'])) {
$formNo = $_GET['formNo'];
// echo "UPDATE stddata SET admStatus=0 where formNo=$formNo";
$sql = $db->query("UPDATE stddata SET admStatus=1 where formNo=$formNo");
if ($sql) {
if($_SESSION['levelID']==1) header('location:'.'adm_rec_ndft_process2.php');
if($_SESSION['levelID']==5) header('location:'.'adm_rec_ndpt_process2.php');
if($_SESSION['levelID']==8) header('location:'.'adm_rec_nddpt_process2.php');
if($_SESSION['levelID']==3) header('location:'.'adm_rec_hnd_process2.php');
if($_SESSION['levelID']==11) header('location:'.'adm_rec_hnddpt_process2.php');
// header('location:' . 'adm_rec_ndft_process2.php');
}
}
?>