1$message = "";
2
3if($_REQUEST['msg'] == "new"){
4 $message = "New User has been added successfully";
5}else if($_REQUEST['msg'] == 'edit'){
6 $message = "User has been saved successfully";
7}else if($_REQUEST['msg'] == 'update'){
8 $message = "User(s) has been Updated successfully";
9}