|
Posted by Sebastiaan 'CrashandDie' Lauwers on 06/17/07 11:58
artev wrote:
> so not work;
It should work, maybe posting the whole function could be nice ? As
obviously the problem lays there...
> is necessary to have some similar at:
> mail(print function_x('parameter_x'),'a', 'b', 'c');
No not at all, print would show the information on screen (to the
client) and return a boolean (1) for return value...
From the PHP documentation:
<snippet>
Description
int print ( string $arg )
Outputs arg. Returns 1, always.
</snippet>
So if you use print, you'd be doing this:
mail (1, 'a', 'b', 'c');
// And the client would see the return value of function_x ();
HTH,
S.
[Back to original message]
|