Skip to content

Instantly share code, notes, and snippets.

<?php
if (isset($_GET["studentID"])) {
require("api/api.php");
$number = validate($_GET["studentID"]);
/*Grab Name*/
$sql = "SELECT `name`, `points` FROM Points WHERE `uid` = '" . $number . "'";
$result = sqlStatment($sql);
if (mysqli_num_rows($result) == 0){ ?>
</br>