I don't know if I'm just being stuipd of what...but I can't get this global to come inside the function...
//print_r($error_msg); exit;
function Pagina()
{
global $error_msg;
print_r($error_msg); exit;
If I uncomment the first print_r it will print out the error arrays...
Now, when I turn off the first print_r and let things run into the function I can't access the error arrays. Hopefully, this is enough of an example...but it's all I'm toying with. The arrays do exist (outside of the function) and I'm not sure what I could possibly be doing wrong.
Is there something simple I'm forgetting about here?
Thanks...v