| Server IP : 172.64.80.1 / Your IP : 172.71.120.136 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/admissionProcess/ |
Upload File : |
<?php
/**
* Created by PhpStorm.
* User: aspoaSoftTech
* Date: 7/23/2020
* Time: 7:24 AM
*/
//require_once('../connect.php');
//$db=db_connect();
$sql="select * from vw_stddata_hnd where admstatus=3 and result='Pass' and level='$levelName' and course='$dept'";
$sql_exe=$db->query($sql);
$ndResult_count=$sql_exe->rowCount();
$pacent=floor($ndResult_count/$quota_no*100);
$sql2="select * from vw_stddata_hnd where admstatus=3 and inst<>'FEDRAL POLYTECHNIC, EDE' and level='$levelName' and course='$dept'";
$sql2_exe=$db->query($sql2);
$otherInst_count=$sql2_exe->rowCount();
$otherInst_count_pacent=floor($otherInst_count/$quota_no*100);
//die();