Thanks, but I don't think it's th spelling. I'll give you a little example.
When I use this test-program:
<?
$test = "var_name";
$$test[0]="A";
$$test[1]="B";
$$test[2]="C";
$$test[3]="D";
$$test[4]="E";
$$test[5]="F";
$size = sizeof(${$test});
print("$size <BR>");
for ($i=0; $i<6; $i++)
{
print("${$test[$i]} <BR>");
}
?>
I expect this output:
6
A
B
C
D
E
F
But I get this output:
0 // size is 0?
A
F // what happened to "B"?
C
D
E
F
Can anyone tell me what I'm doing wrong?
Thanx,
Dennis