I am not a newbie I have just never figured out how to do this (taught my self php).
I have a function say
function socks(test,sock) {
echo $test
echo "I am a fary:"
echo $sock
$total = $test * $sock;
}
How can I get the total out of the function to use in other places as a variable, is there a returning function or something?