Fully operational SQL
diff --git a/ajax/checkrequests.php b/ajax/checkrequests.php
new file mode 100644
index 0000000..fb6e9a6
--- /dev/null
+++ b/ajax/checkrequests.php
@@ -0,0 +1,14 @@
+<?php
+	require '../php/utils.php';
+	$user = get_users($_GET['id']);
+	
+	echo '{ ';
+	$first = true;
+	foreach ($user as $prop => $value) {
+		if (!$first) echo ', ';
+		else $first = false;
+		if ($prop == "nomcomplet") echo '"'.$prop.'": "'.$value.'"';
+		else echo '"'.$prop.'": '.$value;
+	}
+	echo ' }';
+?>