lol if he uses the $who more then once in the same script where it should be $uid its easier to use the statement i gave instead of changing all parts
disable login [lavalair script]
Collapse
X
-
i think it should be like this to work.
$login = mysql_fetch_array(mysql_query("SELECT name, login FROM ibwf_users WHERE name='".$loginname."'"));
if($login==1)
{
//this is were i put the site login link//
}else if($login[1]=='2'){
echo "$uid your login has been disabled by a staff member<br/>";
echo "if this is a error contact a admin/owner<br/>";
}
Comment
Comment