 <p>** This is C# Code ** Hope you can use the logic for PHP **</p> <p>Step #1 – Create a products listing page, for each product add a CheckBox field.</p> <p>Step #2- Create a link “Compare” that has runs a function. Here is a sample:</p> <pre><code>private void funcCompare() { // REMOVED ALL SESSION Session.Remove("arrCompare"); Session.Remove("catCompare"); // CREATE NEW ARRAY List&lt;string&gt; arrCompare = new List&lt;string&gt;(); // COLLECT CHECKBOX DATA into ARRAY for (int i = 0; i &lt; Repeater1.Items.Count; i++) { CheckBox chk = (CheckBox)Repeater1.Items[i].FindControl("cbCompare"); if (chk.Checked) { arrCompare.Add(chk.ToolTip); } } // PLACE ARRAY INTO SESSION Session["arrCompare"] = arrCompare; // GO TO COMPARE PAGE Response.Redirect("ProductCompare.aspx"); } </code></pre> <p>The functions gets all the checked items (productID’s) and creates an array and then places that array in a Session("arrCompare");</p> <p>I then redirect to ProductCompare.aspx page where loop through the array and display each item.</p>