Thanks! I did that...but i have problem retrieving data from the array passed in the addcart1.php
plz see following:
<?php
$a=0;
print "In add cart<br>";
$idarray=$_POST['id'];
print $tabletype."<br>".count($idarray);
while($a<5)
{
print "<br>Inside while $a> ";
print $idarray[0]."<br>";
$a++;
}
?>
this is wat i had...just wanted to see if it works...but the followin is wat i get in the browser (one item was checked in the checkbox and hence count of idarray = 1:
In add cart
count of idarray is 1
Array ( [188] => on )
Inside while 0>
Inside while 1>
Inside while 2>
Inside while 3>
Inside while 4>
It should print that one item in the idarray right??? What am I doing wrong?
Thanks...