Welcome Guest, Not a member yet? Register   Sign In
Define/include "globally available" arrays and functions
#3

@tomsenner,

You could declare CONSTANTS:

index.php
Code:
<?php
defined('CURRENCIES') ?: define('CURRENCIES', array("EUR","USD") );
...
...
Reply


Messages In This Thread
RE: Define/include "globally available" arrays and functions - by John_Betong - 06-05-2021, 11:23 PM



Theme © iAndrew 2016 - Forum software by © MyBB