![]() |
|
|
+ Search |
![]()
|
Jun 8th, 1999 07:00
Nathan Wallace, Frank M. Kromann
You have to globalize both variables.
<?php
$test = "test1";
function tt() {
global $test;
global $$test;
print("$$test\n");
}
$test1 = "jhkjh";
tt();
?>