Good time of a day!
well... as for me the construction...

switch($action)
      {
        case ...
        ..........
        }

...is not very elegant when number of cases over 40-60 or more and the only
thing they must do is start one function (often with the same name). for
example:

       case 'add_user_form':
         {
          show_add_user_form();
          break;
         }

more interesting is to create txt file with records like:

add_user_form>show_add_user_form()
add_user_recoder>add_user_recoder()
.......

 So read  "show_add_user_form()" is not a problem but how tell PHP that this
is a name of function to start but a simple text string? ...

P/S: I know about reading php manual ;-) may be in an hour or two I'll get
answer on myself but may be somebody can answer qwicker? ;-)

Thancks!
Vladimr.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to