query($sql);
if ($result->num_rows > 0) {
// output data of each row
while($row = $result->fetch_assoc()) {
$sid=$row["Studentid"];
$fullname=$row["FullName"];
$programName=$row["ProgramName"];
$graduationyear=$row["Graduationyear"];
}
} else {
echo "0 results";
}
//echo $model;
//die;
$conn->close();
}
}
?>
FullName:
ProgramName:
Graduationyear:
