Location: PHPKode > projects > Multi-lingual E-Commerce System > admin/inc/submit_Customer.xml.inc
<?php
require_once('Customer.class');
if (isset($_POST['Customer']))
{
	$obj = new Customer();
	$obj->Customer_ID = $_POST['Customer'];
	if (isset($_POST['delete']) && $_POST['delete'] !='' )
	{
		$obj->delete();
	}

	else {
		$obj->Address_ID = $_POST['Address_ID'];
		$obj->Customer_Name = $_POST['Customer_Name'];
		$obj->Customer_Email = $_POST['Customer_Email'];
		$obj->Customer_Phone = $_POST['Customer_Phone'];

		$obj->store();
} # end else

} # end if

?>
Return current item: Multi-lingual E-Commerce System