I'm not sure how to do this (or if it's possible).
I have a functionB inside of another functionA and I want to "return" a value from functionB so functionA will know where to go upon completion.
function A(){
B($id); // returns $status where equal either "success" or "error"
header(location:somepage.php?sent=$status);
}
As you can see I can't echo this out. Is there a way to obtain the return'ed value?
?...v