variables and function within a function
Posted: Tue Jun 22, 2004 6:10 am
I have a piece of code like this:
function a()
{
$a="some value"
$b="some other value"
function b($someArg)
{.....}
function c($someArg)
}
in function b and c, I would like to access the values of $a and $b.
how can I do that?
Thanks a bunch in advance
function a()
{
$a="some value"
$b="some other value"
function b($someArg)
{.....}
function c($someArg)
}
in function b and c, I would like to access the values of $a and $b.
how can I do that?
Thanks a bunch in advance