08-25-2017, 12:30 PM
Ok. I made two optional arguments. OrderBy and True.
Basically you can call
To order by logins Ascending
or
To order by logins descending.
Here's the code. I'm pushing it to 4.3 if no one has any modifications.
https://pastebin.com/MLLEh16E
Basically you can call
Code:
$bob = fetchAllUsers("logins"); dump($bob);
or
Code:
$bob = fetchAllUsers("logins",TRUE); dump($bob);
Here's the code. I'm pushing it to 4.3 if no one has any modifications.
https://pastebin.com/MLLEh16E