i've spent a couple of hours with this and i cant find the answer to the problem.. here it goes....
let's say we define an array: $ar = array ( 1st => one, 2nd => two);
and now a variable.....
$string = "2nd";
...i would expect.....
$ar[$string] == "two" but in fact I get nothing.......
...why?
Cheers,
Emilio.