you could just use $value = $_GET['value'] at the top, above the function recursion($value) line.
but, really, you should be able to place it almost anywhere, just as long as it's set before it's used in the echo statement.
after you've set the value for $value, you should be able to call it without using $_GET().
|