dynamically selecting a function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi there,

 

How can I do something like this: 

 

[snip - theoretical code] if( isset($step) ) echo step.$step() ) [/snip]

 

$step would be an int (I would check that before) and then I would have all
sorts of functions like step1(), step2() . etc.

 

Any ideas?

 

Thomas


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux