Ask about general coding issues or problems here.
1 post • Page 1 of 1
Your challenge is coming from the scope of the variable containing the array. If you're declaring it outside of the function, make sure you use global $variableName; in the function to specify that you're going to be referencing th global variable rather than one in local scope. if the variable is defined locally to the function (inside the function) then you'd have to return it to the calling context in order to make the results available