The action of the form is different from the URL jump: The form can pass data to the background, and the background can directly use the request object to request data from the front end. There are two ways to pass data through a form: method="post": This is used to transfer large amounts of data. The data will be packaged before being transferred, so this method of transferring data will be less efficient, but the data that passes through can be parsed correctly, so there will be no garbled characters when transferring Chinese. method="get": transmitted via URL. Due to the limited length of the address bar, the amount of data is limited, and the transmitted data must be within the ASCII code value range. Therefore, garbled characters will appear when Chinese is transmitted, and special processing is required. The url jumps to the action only through the url parameters to pass data, action? parameter name = parameter value & ..., in the background, you can also use the request object to request the url parameter value from the front end (the url passing Chinese parameters needs special processing) |
Table of contents Configuration nfs server (nfs.s...
Table of contents 01 Introduction to Atomic DDL 0...
Three functions: 1. Automatic vertical centering o...
Table of contents 1. MHA 1. Concept 2. Compositio...
count(*) accomplish 1. MyISAM: Stores the total n...
This work uses the knowledge of front-end develop...
aforementioned This article is very short~ The ma...
This article shares the specific code of jQuery t...
Following the previous article 202 Free High-Qual...
Preface In front-end programming, we often use th...
In the past, when I needed the border length to b...
In the previous article, we introduced how to use...
1. Introduction resolv.conf is the configuration ...
This article mainly introduces the deployment of ...
1. If MySQL is not started successfully, check th...