For example, if I add this code to functions.php:
$mysite_address_url="http://my-site.com";
And then add this to one of my .php template files(like index.php or header.php):
<?php echo($mysite_address_url); ?>
It won't work. Why is this happens and how can I achieve this with wordpress please?