Date: 11/15/00
- Next message: Chris Lee: "[PHP] LEFT JOIN problems"
- Previous message: jeremy brand: "Re: [PHP] fns"
- In reply to: Thomas Holton: "[PHP] fns"
- Next in thread: Don Read: "RE: [PHP] fns"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, 15 Nov 2000, Thomas Holton wrote:
>
> Hello,
>
> Is it true that one cannot call to a function within a function in PHP?
> I mean this:
>
> $result = &function1(&function2($input));
>
> thanks!
>
Huh? why do you have ampersands there? The following will work (assuming
argument count, input/output types, etc. are fine):
$result=function1(function2($input));
-- Ignacio Vazquez-Abrams <ignacio <email protected>>-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Chris Lee: "[PHP] LEFT JOIN problems"
- Previous message: jeremy brand: "Re: [PHP] fns"
- In reply to: Thomas Holton: "[PHP] fns"
- Next in thread: Don Read: "RE: [PHP] fns"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

