Hi, I wrote a php code for adding product to cart, where i can take the product details from the database and update the quantity of the products. It is working in firefox, but in IE it is not working(i think the problem is with form input variables). Following is the code. Please can anyone help out. Thanks in advance. <form action="formprocess.php" method="post"> <table> <tr><td> <input type="hidden" name="cartid[]" id="cartid[]" value=<?php echo $id ?>></td></tr><tr> <td align=center><input type="checkbox" name="remove[]" id="remove[]" value=<?php echo $id ?></td> <td style="padding-left:50px"><?php echo $row2['name']; ?></td> <td align="center"><input type="text" name="quantity[]" id="quantity[]" value=<?php echo $quan ?> size=2></td> <td align="center"><?php echo "$".$row2['price']; ?></td> <td align="right"><?php echo "$".$price; ?></td> </tr> <tr><td><input type="submit" name="submit" value="submit"></td></tr></table> </form> formprocess.php <?php for($j=0;$j<$numrows1;$j++) { echo "Cartid".$cartid[$j]; echo "quanity:".$quantity[$j]; echo "value j".$j; $quan = $quantity[$j]; $cid = $cartid[$j]; $query2=mysql_query("update mycart set quantity='$quan' where id='$cid'"); } ?>