That resulted in this at the top of the page:
i = 1
comVar = com1 - %24264%2C000
tempVar = temp1 -
decoded comVar =
i = 2
comVar = com2 - %24488%2C000
tempVar = temp2 -
decoded comVar =
i = 3
comVar = com3 - %24546%2C000
tempVar = temp3 -
decoded comVar =
.
.
.
I applied the same technique to a different portion of code, and it worked:
$temp1 = split("=",$contentArray[0]);
$temp2 = split("=",$contentArray[1]);
...
$temp19 = split("=",$contentArray[18]);
became:
for ($i = 1; $i <19; $i++)
{
$tempVar = "temp" . $i;
$$tempVar = split("=",$contentArray[$i-1]);
}
(notice that there's no '$$' array in the one that works -- could that be the error? Is it legal to write $$tempVar[1] -- maybe that needs to be formatted differently?)
Thanks for your speedy assistance, it's greatly appreciated! 🙂
-Paul