$num = 10; function multiply() { $num = $num * 10; } multiply(); echo $num;
This prints "10" to the screen.
$num = $num * 10; echo $num;
But this prints "0".
Why is that?
no subject
Date: 2008-06-24 10:59 am (UTC)From:thanks for the drawn out expl.