Joke Collection Website - Public benefit messages - Submit and receive php forms
Submit and receive php forms
I want to give some optimization suggestions to the landlord.
Since they are all html, you don't need to use php's echo to output html, which is not conducive to running optimization.
In addition, since there are no php variables in quotation marks, it is beneficial to use single quotation marks to optimize the program.
Finally, if there is no other code under the php code, what is the last one? & gt can be omitted.
I also found your form illogical.
First, your two button types are buttons, so how do you submit the form?
Second, the parameter of the $_GET[] variable in php should be the parameter key, which is the name attribute value of the form element for the form and the one to the left of the equal sign of the url parameter for the url, such as name = value.
And your $_GET['name'], where is the name attribute in your form element?
- Previous article:Where can I check the information of Huawei watches?
- Next article:How to query the remaining traffic of telecom card
- Related articles
- Blessings for the Year of the Snake
- How to open 20 yuan 150M traffic of telecom building block package by SMS?
- I called 10086 today and asked him to cancel the GPRS service for me. Why is there no SMS prompt?
- The other party forgot to accept the WeChat transfer. Will he give me a hint if he returns it?
- The online loan is overdue. He sends me some messages and makes many phone calls every day. What should I do?
- How to set the number of SMS center?
- How to view intercepted messages on Xiaomi's mobile phone?
- Can Gitzo apply for a cash loan without notice?
- [Collection] Media Work Summary Report 1000 words (7 highlights)
- Function and use of mobile phone flight mode