|
Posted by Chung Leong on 07/13/06 17:20
jhullu@gmail.com wrote:
> hi all
>
> i've a function F as
>
> function F($arg1,$arg2,$arg3){
> ...
> }
>
> and a variable $args = "A,B,C"
>
> my goal is to call the function with the content of $args.
>
> if i call f($args) i call this function with 1 argument : an array, i
> wish call function as f(A,B,C)
>
> If Someone thinks this is possible... please give me the code ;))
>
> regards.
call_user_func_array('F', explode(',' $args));
[Back to original message]
|