Added queries and functions for adding group members.
This commit is contained in:
12
website/public/API/getGrouprole.php
Normal file
12
website/public/API/getGrouprole.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
session_start();
|
||||
|
||||
if(empty($_POST["grp"])) {
|
||||
header('HTTP/1.1 500 Non enough arguments');
|
||||
}
|
||||
|
||||
require_once("../../queries/group_page.php");
|
||||
|
||||
echo selectGroupRole($_POST["grp"]);
|
||||
|
||||
Reference in New Issue
Block a user