| Server IP : 172.64.80.1 / Your IP : 108.162.241.67 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/FpE_cess/ |
Upload File : |
<?php
$profiles = "SELECT * FROM Staff_Basic_Profile where StaffNo = '$check[0]'";
$fpedbs = mysqli_query( $fpecon, $profiles) or die(mysqli_errno());
while ($row = mysqli_fetch_array($fpedbs))
{
$staffid = stripslashes($row["StaffNo"]);
$staffpost = stripslashes($row['Post']);
$stafftitle = stripslashes($row['Title']);
$staffsur = stripslashes($row['Surname']);
$staffon = stripslashes($row['OtherNames']);
$staffqua = stripslashes($row['Qualification']);
$stafflevel = stripslashes($row['Grade']);
$staffmail = stripslashes($row['iEmail']);
$staffno = stripslashes($row['Phone']);
$staffedu = stripslashes($row['EduHist']);
$staffpro = stripslashes($row['ProBrief']);
$staffdpt = stripslashes($row['Department']);
$staffnat = stripslashes($row['Nationality']);
}
$oname = explode(" ",$staffon);
if($oname[1] == "") {
$initials = $oname[0];
$initial = " ";
}
else {
$initials = $oname[0][0].'.';
$initial = $oname[1][0].'.';
}
?>