I wrote a test program before, in which adding and modifying are written together. When I need to use modification, an input box is used in the form, and the disabled attribute is not set. Later, when I need to connect with the front-end written by others, because the id cannot be modified, the other party sets a Copy code The code is as follows:Task ID: <input type="text" name="taskId" disabled="disabled"> Seeing that all the SQL statements sent were insert, I struggled for a while and found that there was something wrong with the disabled attribute. I asked Teacher Gu and found an article in Baidu Space titled "How to submit the value of a disabled form field in a form". I realized that this would cause the submission to fail. The solution is the following reply from @trocebao. The rookie has learned some new tricks. Well, I'll record them for future reference. |
<<: Detailed steps for Linux firewall configuration (based on yum warehouse configuration)
This article is compiled with reference to the My...
Preface The count function is used to count the r...
What is an index? An index is a data structure th...
MySQL 5.7.20 installation and configuration metho...
One purpose Select a local folder on the Html pag...
Source: https://medium.com/better-programming, au...
Download MySQL for Mac: https://downloads.mysql.c...
Use Docker to build a flexible online PHP environ...
Preface Ordinary users define crontab scheduled t...
Official website: http://code.google.com/p/zen-cod...
Fabric.js is a very useful canvas operation plug-...
If your MySQL database is installed on a centos7 ...
Put your own web project in the webapps directory...
The command to delete images in docker is docker ...
Configuration Example upstream backend { server b...