$v){ if($_POST[$k]!="formRegisterFieldPassword" or $_POST[$k]!="formRegisterFieldConfirmPassword"){ $_POST[$k] = $oForm->cleanData($v); } else { continue; } } //create user in Wefra and link the user to ERP $res = $oUser->createUser($_POST); print_r($res); } // .. // ENDOF creating user in ERP and in WeFra