I have a function that retrieves various bits of info from a DB, which can then be used in scripts... However, the function uses more than 1 variable, and I want to return them all.
in the call, I'd obviously have to use
$variables = functionname();
$variables will need to be an array of some sort... But how do I return 2 strings? I couldn't use:
return $1;
return $2;
because return ends the function...
Cheers,