12-28-2007, 02:13 AM
[eluser]metaltapimenye[/eluser]
hey guys.. i need yer help here
i need to doing a function inside a function i've made..
maybe little-bit shallow.. but i got no one to ask. thx n_n
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