Welcome Guest, Not a member yet? Register   Sign In
[ask]Controller: doing other function in a function.
#1

[eluser]metaltapimenye[/eluser]
hey guys.. i need yer help here

i need to doing a function inside a function i've made..
Code:
<?php
class Example extends Controller {

  function doingA($varA,$varB){
    $varA+$varB;
  }

  function doingB(){
    :::
        #want to do function doingA, and its results as $varC
    :::

  $data['varc']=$varC;
  }

}
?>

maybe little-bit shallow.. but i got no one to ask. thx n_n


Messages In This Thread
[ask]Controller: doing other function in a function. - by El Forum - 12-28-2007, 02:13 AM
[ask]Controller: doing other function in a function. - by El Forum - 12-28-2007, 03:23 AM
[ask]Controller: doing other function in a function. - by El Forum - 12-28-2007, 03:59 AM
[ask]Controller: doing other function in a function. - by El Forum - 01-02-2008, 08:49 AM



Theme © iAndrew 2016 - Forum software by © MyBB