Hi
I would like to ask:
1) if i have the following:
Will the above print out 5 or 0; Does the function update the Variable or update it only within the function?
Ok. for now thats it...then i'll make another question according to the above answer!
Thanks
Nick
I would like to ask:
1) if i have the following:
Code:
<?PHP
$Counter = 0;
UPDATEVARIABLE();
echo $Counter;
[b]function [/b]UPDATEVARIABLE()
{
$Counter = 5;
}
?>
Will the above print out 5 or 0; Does the function update the Variable or update it only within the function?
Ok. for now thats it...then i'll make another question according to the above answer!
Thanks
Nick