2014-08-10, 12:11 PM
Right now I have a form that submits it to my admincp to change the usergroup however the session ids are different there so it asks you to log in first
What else can I do? I was thinking of just doing an SQL query on their UID.
$db->query("UPDATE '.TABLE_PREFIX.users' SET usergroup=\"$usergroup\" WHERE uid=\"$memprofile['uid']\");
* note that this query will likely not work and has a lot of issues so yeah
How practical would that be? Automatic update?
What else can I do? I was thinking of just doing an SQL query on their UID.
$db->query("UPDATE '.TABLE_PREFIX.users' SET usergroup=\"$usergroup\" WHERE uid=\"$memprofile['uid']\");
* note that this query will likely not work and has a lot of issues so yeah
How practical would that be? Automatic update?