0
How to access my variables outside the if loop
Php variables
1 Answer
+ 2
Do you mean a variable you create within a loop and you want to use that same variable once the loop has finished? That's not possible because the variable is only exists within the loop. Once the loop ceases to exist, so does the variable.