Currently I am looking to check usernames against to admin variables like this...
global $my;
$thename = $my->username;
if ($thename == $id1) {
include ('modules/mod_flowplay/edit/edit1.html');
} elseif ($thename == $id2) {
include ('modules/mod_flowplay/edit/edit1.html');
} else {
echo ('');
}
It, for some reason stops at the 1st if statement and either works or doesn't...
If I have 2 user names one each in id1 and id2 it's not checking the id2..
I think I'm missing something easy here... LOL
Thanks for the help in advance! :quiet: