// GET ID MODS (USERNAMES IN ID) ////////////////////////////////////////////////////////////
/*
The following couple lines will handle a USERNAME posted
as a user ID in the URL, if the "ID" value is not numeric,
it must be one. Let's try to find a user entry for that username
*/
if (!is_numeric($_GET["id"])) {
$fetchUserName = myF(myQ("SELECT `id` FROM `[x]users` WHERE LCASE(`username`)='".strtolower($_GET["id"])."'"));
if (is_array($fetchUserName)) $_GET["id"] = $fetchUserName["id"];
}