PHP Form Submit button
Own test wrote a message board, want to modify the function. , where there are 3 buttons, how can I click on different buttons to submit different content. Thank you very much.
The source code of only one button is probably
Beginner, try a few methods are not, only the action submitted to which page, which page can be successful, ask Master enlighten
Reply to discussion (solution)
Modify the form's Action property and the submit method for executing the
Search. php can use file_get_contents to get & quot; www. baidu. coms? Wd $ keyword & quot; where $ keyword comes from the parameter wdsearch. phpfile_get_contents of search. php, and some replacement operations are performed. Finally, the echo
Working with form data in PHP is simpler than other Web programming languages-if you use the language for a while, you'll find it an indisputable fact. The simplicity of this operation makes it easy to handle more complex form events, including the
Because of style issues, I want to set a label a to the submit button and set it to the submit type, but I found that the submission failed and tried several times only the button label or the input label can be used. if the submission is successful,
Working with form data in PHP is simpler than other Web programming languages-if you use the language for a while, you'll find it an indisputable fact. The simplicity of this operation makes it easy to handle more complex form events, including the
Working with form data in PHP is simpler than other Web programming languages-if you use the language for a while, you'll find it an indisputable fact. The simplicity of this operation makes it easy to handle more complex form events, including the
Because of the style of the problem I want to give a a tag to the submit button to set a type for it is submit, but found that the failure to commit failed to submit a few times can only be a button tag or the input tag to submit success is not the
Yii implementation of multi-button save and submit method, YII implementation button submission
In this paper, we describe the implementation of the multi-button save and commit and do not conflict with Yii. This is a lot of beginners have
Why use multiple submit tasks?
Before I answer this question, let me answer the obvious question: since many forms are more suitable for a single submit button, why do people sometimes need two (or more) of submit buttons?
The best way to explain
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.