I don't get this part:
echo ("<input name=size[$arrayindex] type=hidden value=$col5>");
Is the output supposed to look like this (assuming $arrayindex has a value of 1 and $col5 has a value of '28"'):
<input name=size[1] type=hidden value=28">
If so,
1) You did not escape your " in the value attribute of the HTML. Maybe you did and just forgot to show it here?
2) If your variable name is "size[1]", then shouldn't you use this to get it's value:
$$size[$arrayindex]
I'm not really getting what the problem is here. Would you mind showing me your code so I can take a look?
When I do something like:
$value = '28"';
echo ($value);
I get output WITHOUT the \ character: 28"
-sridhar