Location: PHPKode > projects > Multi-lingual E-Commerce System > admin/inc/admin_Basket.xml.inc
<?php
require_once('Basket.class');
if (!isset($_GET['Basket']))
{
	$array = array() ;
	$obj = new Basket();
	$array = $obj->retrieveAll();
	foreach ($array as $member) {
		$obj = new Basket();
		$obj->Basket_ID = $member;
		$obj->retrieve();
		echo "<p>OBJ_NAME";
		echo "<a href=\"PAGE_NAME?Basket=$member\">PAGE_NAME_EDIT</a></p>";
	}
}

else
{
	$obj = new Basket();
	$obj->Basket_ID = $_GET['Basket'];
	$obj->retrieve();
?>
<form method="post" action="PAGE_NAME">
<input type="hidden" name="Basket" value="<? echo $_POST['Basket'] ?>"><br>
Basket, Basket_Opened : <input type="text" name="Basket_Opened" value="<? echo $obj->Basket_Opened; ?>"><br>
<p>Delete <input type="checkbox" name="delete"></p>
<input type="submit">
</form>
<?php
}
?>
Return current item: Multi-lingual E-Commerce System