Location: PHPKode > projects > MyEasyShop > myEasySHOP/adm_user_delete.php
<?PHP
/***************************************************/
/*		I N C L U D E S 		   */
/***************************************************/
require("etc/myShop.cfg");
require(LIBRARIES. "bll_user.inc");
require(LIBRARIES. "template.inc");
/***************************************************/	

	// Creazione oggetto gestione utente.
	$ul = new bll_user;
	
	if ($id_user != ""){
		// Deletes the registration.
		if ($ul->Delete_user($id_user)){
			header ("Location: adm_user.php");
		} else {
			header ("Location: adm_user.php"); //Any error!
		}
	}		
?>
Return current item: MyEasyShop