Reply to Re: How to pass a function to a function?, and how to pass the variables of the function?

Your name:

Reply:


Posted by Obvious on 09/26/66 11:27

On Fri, 23 Sep 2005 06:14:45 GMT, _andrea.l wrote:

> I'd like to write a function like:
>
> function f(){ ... bla ...}
> f_example(f);
>
> function f_example($function_to_execute)
> {...bla... $function_to_execute() ...bla....}
>
> AND how to pass the variable of the function :
>
> function f_example($function_to_execute($var1,$var2))
> {...bla... $function_to_execute() ...bla....}
>
> Thank you in advance for the time you'll spend for me,
> Andrea.

Don't multipost, if you have to post to more than one group cross post so
that everyone sees all the answers.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация