Hi folks,
I seem to need you help once again!
My task is to transform a string to a variable... no not the dynamic $$-stuff
all the following values are stings and I want to put them back to the intended type of variable. strings themselves have " at the beginning and end of the string.
I have tried the following:
$temp;
eval("$temp = $variable;");
gettype($temp);
No matter how I planted the eval-statement I always got out NULL or an error... I want it to be string, interger, array... you know what... I probably could use the settype() but I guess then I am easily missing a case. BEsides how would I handle booleans then?
Thanx in advance!
WittRaider