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

	else {
		$obj->Affiliate_Name = $_POST['Affiliate_Name'];
		$obj->Affiliate_Commission_Rate = $_POST['Affiliate_Commission_Rate'];

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

} # end if

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