yes Imran its possible
follow the link & see example#2
http://php.net/manual/en/functions.variable-functions.php

Regards,
Shahu.

On Sun, Apr 25, 2010 at 8:33 AM, imran shafiq <jibreel_a...@yahoo.com>wrote:

>
>
> Dear Expert
> Is it possible that pass a function name as a argument in an other
> function?
>
> e.g.
> MainMenu($SubMenu)
> {
> //Main menu designing start
> if(.......&&......||.......&&.......)
> {
> $this->$Submenu; // different submenus
> exit;
> }
> //Main menu designing end
> }
> Imran Shafiq Khan
>
> [Non-text portions of this message have been removed]
>
>  
>



-- 
http://phpinterviewanswers.blogspot.com/


[Non-text portions of this message have been removed]



------------------------------------

The php_mysql group is dedicated to learn more about the PHP/MySQL web database 
possibilities through group learning. Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php_mysql/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/php_mysql/join
    (Yahoo! ID required)

<*> To change settings via email:
    php_mysql-dig...@yahoogroups.com 
    php_mysql-fullfeatu...@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    php_mysql-unsubscr...@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to