Hi there,
OK, I'm afraid I'm just looking for abit of help to start on this one.
I have a session array containing an item id and an item quantity. I need to insert these values into a table called tblstore_orders.
I will post code below of which may show you a bit of what i have.
<?php
session_start();
if(!isset($_SESSION['basket']))
{
$_SESSION['basket'] = array();
}
if(isset($_POST['selected_item_id']))
{
$u_item_id = $_POST['selected_item_id'];
$u_quantity = $_POST['sel_item_qty'];
$u_details = $u_item_id."|".$u_quantity;
$_SESSION['basket'][] = $u_details;
header("Location: showcart.php");
}
?>