RE: [PHP-WIN] how-to-include
| From: | UHL Fabrice | Date: | Thu, 17 Aug 2000 09:36:47 +0000 |
| Subject: | RE: [PHP-WIN] how-to-include | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-1890@lists.php.net to get a copy of this message | ||
Hi,
I have problems using parameters with "include",
BTW, may be you should use $$function ?
I know it works with variables that contains another variable name,
may be it works also with function name...
hope this helps.
UHL Fabrice
EID MICRO CTI
Tel : 03 88 24 89 17 - 03 88 37 72 35
-----Message d'origine-----
De: Jesse Binam [mailto:sirbinam@xmission.com]
Date: jeudi 17 aoűt 2000 07:09
Ŕ: php-windows@lists.php.net
Objet: [PHP-WIN] how-to-include
Hello,
I am wondering if anyone has an idea on how I would get this to work
or if
anyone has any ideas on a more efficient way to do this. I want this kind of
affect.
<?
include("ext_functions.php?function=function_name");
?>
and ext_functions.php would have a bunch of functions in it with a part at
the top that would be something like this
$myfunction = $function;
$function();
Thanx,
Jess
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
For additional commands, e-mail: php-windows-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net