Welcome Guest, Not a member yet? Register   Sign In
nasty code - varaiable variables varaible paramaters
#2

[eluser]xwero[/eluser]
Why don't you let the method you call take care of the array?
Code:
if(count($p) == 0)
{
   $function = $this->{$con["module"]}->{$con["function"]}();
}
else
{
   $function = $this->{$con["module"]}->{$con["function"]}($p);
}


Messages In This Thread
nasty code - varaiable variables varaible paramaters - by El Forum - 03-07-2008, 03:18 PM
nasty code - varaiable variables varaible paramaters - by El Forum - 03-07-2008, 03:33 PM
nasty code - varaiable variables varaible paramaters - by El Forum - 03-07-2008, 03:49 PM
nasty code - varaiable variables varaible paramaters - by El Forum - 03-07-2008, 04:17 PM
nasty code - varaiable variables varaible paramaters - by El Forum - 03-08-2008, 04:34 AM
nasty code - varaiable variables varaible paramaters - by El Forum - 03-08-2008, 06:01 AM
nasty code - varaiable variables varaible paramaters - by El Forum - 03-08-2008, 08:14 AM
nasty code - varaiable variables varaible paramaters - by El Forum - 03-10-2008, 03:20 AM
nasty code - varaiable variables varaible paramaters - by El Forum - 03-10-2008, 03:34 AM



Theme © iAndrew 2016 - Forum software by © MyBB