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 Preface Related Materials Achie...
Compared with other large databases such as Oracl...
First we create the database table: CREATE TABLE ...
Table of contents Global Registration Partial Reg...
Table of contents 1. Delete the old version 2. Ch...
Triggers can cause other SQL code to run before o...
01. Overview Absolute paths and relative paths ar...
1. Create a project with vue ui 2. Select basic c...
Table of contents The difference between hash and...
The editor also shares with you the corresponding...
1. Understanding the meaning of web standards-Why...
When designing table structures, numeric types ar...
Table of contents 1. Registering custom instructi...
Table of contents 1. Connection Management 2. Imp...
I have learned some basic selectors of CSS before...