Quote:
Originally Posted by Skyld
PHP Code:
function isStaff(temp.account)
{
return temp.account in serveroptions.staff;
}
... just to save you from all that ridiculous index() nonsense.
|
Doesn't work.
PHP Code:
temp.acc = "salesman";
echo(temp.acc in serveroptions.staff); // echoes 0
echo(serveroptions.staff.size()); // echoes 0