Outputting errors to a different location than function called from
<p>I have a functions.php file that I keep at the top of pages that looks out for POST requests and runs the appropriate function. The only trouble is I wan't to be able to output the errors to a different area of the page as they can't be seen at the moment. I want to keep the functions.php at the top of the page and output to a different place if this is possible? I was attempting to with javascript but I had no luck. Any ideas?</p>
