Php learning materials are fragmented. When you use the verification code, use strtolower ($ str) to convert it to lower-case strtoupper to upper-case. when you need to pass a value to the current user, you can use AJAX and many other methods, such as varurlxxx. php; vardata {}; $. post {url, used for dat verification code
Strtolower ($ str) to lowercase
Strtoupper to uppercase
You can use AJAX and many other methods when you need to pass a value to this object,
Var url = "xxx. php ";
Var data = {};
$. Post {url, data, function (){
If (data ){
Alert (data); // you will find that the pop-up data contains the value you passed and the code for the entire page.
}
}}
If (! Empyt ($ _ QUEST ['action']) {
Echo "1 ";
// Execute the code
} Else {
}
Var url = "xxx. php? Action = create ";
Var data = {};
$. Post {url, data, function (){
If (data ){
Alert (data); // This time only the information you want to output.
}
}}
Strtolower ($ str) to lower case strtoupper to upper case when you need to pass a value to the current user, you can use AJAX, and many other methods, var url = "xxx. php "; var data ={}; $. post {url, dat...