Sending requests with PHP
diff --git a/db/fetch.php b/db/fetch.php
new file mode 100644
index 0000000..eddd5dd
--- /dev/null
+++ b/db/fetch.php
@@ -0,0 +1,17 @@
+<?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";
+	}
+?>