[SOLVED] How to access variable from within function?
Posted: Sun Jul 04, 2004 7:59 am
I have a while loop in a function and need to know the value of one variable which is defined in the 'root' part of the php code - i.e. above the function itself.
It looks like I can't read its value from that while loop so I have to define it again before the loop but in the same function. Any solution?
Thanks!
Tomas[/mysql_man]
It looks like I can't read its value from that while loop so I have to define it again before the loop but in the same function. Any solution?
Thanks!
Tomas[/mysql_man]