RE: [PHP] functions...

From: Date: Wed, 09 Jan 2002 04:18:44 +0000
Subject: RE: [PHP] functions...
Groups: php.general 
Request: Send a blank email to php-general+get-79855@lists.php.net to get a copy of this message
it's possible to pass a variable number of parameters to a function $num = func_num_args(); for ($i = 1; $i < $num; $i++) { $arg = func_get_arg($i); } try looking at these... -----Original Message----- From: Chris Hall [mailto:hscott16@uswest.net] Sent: Wednesday, January 09, 2002 1:48 PM To: php-general@lists.php.net Subject: [PHP] functions... function lala() { do i HAVE to define a variable or argument <eg> function lala($var) { or can i use it like: lala($stmt); will $stmt become part of the function? -- Chris Hall hardwired industries -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#79855) next »