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

	else {
		$obj->Country_Code = $_POST['Country_Code'];
		$obj->Address_DeliverTo = $_POST['Address_DeliverTo'];
		$obj->Address_Line1 = $_POST['Address_Line1'];
		$obj->Address_Line2 = $_POST['Address_Line2'];
		$obj->Address_City = $_POST['Address_City'];
		$obj->Address_PCode = $_POST['Address_PCode'];

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

} # end if

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