As i have two files i have declared variable $msg["CE"] in config.php file and i am trying to access that variable in function of login.php page ...
config.php
<?php
$msg["CE"] = "connection_error";
?>
login.php
<?php
include_once "config.php";
function myf()
{
return $msg["CE"];
}
echo myf();
?>
Please help me how to access that msg["CE"]