I have a large array that would be messy to include in the file "main.php"
itself and would prefer to include/require it. Say I have the following
line in "main.php":
require_once('/arr.php');
And the "arr.php" file looks something like this:
<?php
array(1)='***@Ok.com';
array(2)='***@Ok.com';
array(3)='***@Ok.com';
array(4)='***@Ok.com';
array(5)='***@Ok.com';
array(6)='***@Ok.com';
array(7)='***@Ok.com';
array(8)='***@Ok.com';
array(9)='***@Ok.com';
array(10)='****@Ok.com';
?>
Would I be able to reference the array AS IF I had declared the array in
"main.php"?
I am a programmer but new to PHP.
Many thanks.