I have a function that creates several new variables based on database-results. Therefor I don´t know the variablenames in advance and can´t declare them as globals at the start of the function.
The function in it self works fine, but how do I retrieve those vars from outside the function ?
One alternative would of course be to not use a function but in this case it doesn´t help me as this function is triggered by another function and I don´t think I can work around that one 🙁