I have an AJAX shopping cart from
I have adapted the page to what I needed successfully, however I would like to get the information in the shopping cart and sent it to a php page.
The following is a snippet of code from the shopping cart page:
The Code I have tried on the following page is as follows:
Thanking in advance for any help received
I have adapted the page to what I needed successfully, however I would like to get the information in the shopping cart and sent it to a php page.
The following is a snippet of code from the shopping cart page:
Code:
<div id="rightColumn">
<form name="input" action="runquery.php" method="post">
<!-- Shopping cart It's important that the id of this div is "shopping_cart" -->
<div id="shopping_cart">
<strong>Products Not In Query</strong>
<table id="shopping_cart_items">
<tr>
<th></th>
<th>Description</th>
<th></th>
</tr>
<!-- Here, you can output existing basket items from your database
One row for each item. The id of the TR tag should be shopping_cart_items_product + productId,
example: shopping_cart_items_product1 for the id 1 -->
</table>
<div></div>
</div>
<input type="submit" value="Submit" /><br />
</form>
</div>
<div class="clear"></div>
</div>
The Code I have tried on the following page is as follows:
Code:
<?php
$test=$_POST['shopping_cart_items'];
echo $test;
?>
Thanking in advance for any help received