Connecting Tech Pros Worldwide Help | Site Map

multi arguments for function

www.phpbasic.com
Guest
 
Posts: n/a
#1: Jul 2 '08
Hi guys, I've 2 function as:
function a($arg1,$arg2,...,$argn){
echo '....';
}
and i dont know numbers of argument on function a() and i have a
array()
$arr = array('arg1,',arg2',.....,'argn');
now, how to get a('arg1','arg2',........,'argn') with
'arg1','arg2',......... are implements of array $arr;
=?UTF-8?B?SXbDoW4gU8OhbmNoZXogT3J0ZWdh?=
Guest
 
Posts: n/a
#2: Jul 2 '08

re: multi arguments for function


http://php.net/manual/en/ref.funchand.php



--
----------------------------------
Iván Sánchez Ortega -ivan-algarroba-sanchezortega-punto-es-

You may my glories and my state dispose,
But not my griefs; still am I king of those.
-- William Shakespeare, "Richard II"

Closed Thread