📜  $request 在 php 代码示例中做了什么

📅  最后修改于: 2022-03-11 14:53:48.030000             🧑  作者: Mango

代码示例1
$message = "";

if($_REQUEST['msg'] == "new"){
    $message = "New User has been added successfully";
}else if($_REQUEST['msg'] == 'edit'){
    $message = "User has been saved successfully";
}else if($_REQUEST['msg'] == 'update'){
    $message = "User(s) has been Updated successfully";
}