|
Posted by Janwillem Borleffs on 07/17/06 08:55
Mike schreef:
> Thanks, that all works now.
>
> Can you explain though why it wasn't returning $reply?
>
It was, but you didn't store the output. When a function returns
something, it's not magically stored into a global variable.
For this you can use a reference, the global keyword or the $GLOBALS array.
Perhaps you should examin the section that describes functions in the
online manual more closely (especially regarding returns from functions):
http://www.php.net/manual/hk/functions.php
JW
Navigation:
[Reply to this message]
|