"; $url = $_SERVER['REQUEST_URI']; $path = explode("/",$url); $db = "logisys3_sjbit"; $Query = "select distinct s.fdegree as fboardcode, s.fdegree as fboardname,funivcode, funivname, date_format(now(), '%d/%m/%Y %r') as fdate FROM {$db}.control, {$db}.masqp q inner join {$db}.subject s on q.fqpcode = s.fqpcode"; $result = mysqli_query($conn, $Query); $row = mysqli_fetch_assoc($result); $Query2 = "select distinct fdeggrp from {$db}.masqp where ifnull(fdeggrp,'') <> '' and fdeggrp <> ''"; $result2 = mysqli_query($conn, $Query2); $row2 = mysqli_fetch_assoc($result2); ?>

Script Statistics

Select Degree Group
Select Board
Semester
Valuation Status
3) { $lastthree = substr($num, strlen($num)-3, strlen($num)); $restunits = substr($num, 0, strlen($num)-3); // extracts the last three digits $restunits = (strlen($restunits)%2 == 1)?"0".$restunits:$restunits; // explodes the remaining digits in 2's formats, adds a zero in the beginning to maintain the 2's grouping. $expunit = str_split($restunits, 2); for($i=0; $i