Thread Starter
namchy
(@namchy)
Thank you dear sir, you saved my day!
Thread Starter
namchy
(@namchy)
Thank you for your reply.
I thought this was a global variable outside my function, by definition
A variable declared outside a function has a GLOBAL SCOPE and can only be accessed outside a function
:
$phpvariable = "This is from PHP"; // global scope
…but obviously I’m wrong. 🙂
Please, a brief example how to do it would be great.
-
This reply was modified 7 years, 9 months ago by namchy.
-
This reply was modified 7 years, 9 months ago by namchy.