i am getting a series of variables from a html form(clippos1,clippos2,etc.). these variables pass numbers back that are entered into a text field. this is the code
$piecesold = explode("|",$directclips);
for ($z=0;$z<$numb;$z++){
$p=$z+1;
$clippostemp="clippos$p";
eval("$clippostemp");
echo "$clippostemp<br>";
$piecesnew[$clippostemp]=$piecesold[$z];
}
the echo "$clippostemp<br>"; is printing out clippos1,clippo2,etc. and i'm getting a parse error for the eval command. i'd like $clippostemp to be the actual value of the variable and not the name. help?