blob: eddd5dd40d42e0c7c65cebc230bad0f4720265b8 [file] [log] [blame]
<?php
if ($result = $conn->query($query)) {
// Fetch the information of the user
while ($row = $result->fetch_row()) {
$user->id = $row[0];
$user->nomcomplet = $row[1];
$user->curs = $row[2];
$user->grau = $row[3];
$user->quimata = $row[4];
}
$result->close();
} else {
echo "Wrong query";
}
?>