Welcome Guest, Not a member yet? Register   Sign In
Call function from another function
#5

[eluser]luukskywalker[/eluser]
is it also possible to send variables from function a to function b?

Because i want something like this(this is just an example):
Code:
Function_a(){
  
  $foo = "1";
  $this->_function_b($foo);
}

Function_b(){
if($foo){
      
echo $foo+1;

}else{

$foo = "10";
echo $foo;
}


Messages In This Thread
Call function from another function - by El Forum - 04-01-2008, 07:33 AM
Call function from another function - by El Forum - 04-01-2008, 07:51 AM
Call function from another function - by El Forum - 04-01-2008, 07:53 AM
Call function from another function - by El Forum - 04-01-2008, 07:59 AM
Call function from another function - by El Forum - 04-03-2008, 02:19 AM



Theme © iAndrew 2016 - Forum software by © MyBB