I would like to return 2 different values with one function. These are my functions:
function example1 ($a) {
return $result1;
return $result2;
}
function example2 ($edit, $account, $value) {
$config ($edit);
}
Like this I get $result1 in my $config-variable. But what do I need to do to get both returned values in my example1-function?
This is probably the cleanest way to do this:
This will make
$config = $result1and$config2 = $result2.