Me 2010-08-23 20:32:23
Yes, it can be better to pass in a variable (by reference if you need
to write to it from within a function and not have it as the value
that you return), e.g.
$a = 20;
return true; // to signify success
$a = 10;
echo $a; // prints 20
phpmachine :: The quick and easy to use service providing you with
professionally developed PHP scripts :: http://www.phpmachine.com/
Professional Web Development by David Nicholson
QuizSender.com – How well do your friends actually know you?
(developed entirely in PHP)