• I have an Array in one file:

    function myArray{
     global $the_array;
     $the_array =Array (......);
    }

    now, in another file, I want to use this array,
    should I say:
    $var = $the_array;
    or, should I say:
    $var = array($the_array)

    Thanks for helping!

  • The topic ‘Need help to define a variable’ is closed to new replies.