PHP HTML No refresh submission form, phphtml submit form
Typically, we use AJAX to submit a form without a flush. A while ago, I followed the boss. Another way to submit a form without flushing is to use the IFRAME framework. Now let's sort it out
Php HTML does not need to submit a new form. phphtml submits the form.
We usually use ajax to implement the process of refreshing new forms. Some time ago, I learned from the boss that another method of refreshing new forms is implemented using the
PHP form submit data get, post instance details. This article will introduce you to the get and post instances of PHP form submission data. For more information, see reference. 1. what is a form? Simply put, this article will introduce you to a
Pre-used JS form to prevent duplicate submission method
The code is as follows
Copy Code
The following three methods are called separately
so if I make a form directly, and then submit it to/test, the above
No need to submit a new HTML form, html submit a form
We usually use ajax to implement the process of refreshing new forms. Some time ago, I learned from the boss that another method of refreshing new forms is implemented using the iframe framework.
Use Php CURLPOST to submit a form to log on to the instance. I have mentioned a lot about the phpcurl function to implement post data submission. next I will introduce you to submit xml and form data. For example, 1CURL uses POST to submit XML data
There are a lot of previous talk about PHP curl function to implement post submission data, let me introduce a kind of commit XML to submit form data.
Example 1
Curl uses post to submit XML data
The code is as follows
Copy Code
There are two (multiple) submit in a form in HTML. how to distinguish between the backend (pure HTML implementation without javascript) and formjavascript
A form may have multiple Submit elements. How can I identify which button is clicked in the
PhpHTML does not need to submit a new form, and phphtml submits the form. PhpHTML does not need to submit new forms. phphtml usually uses ajax to submit new forms. Some time ago I followed the boss to learn about another type of no-refreshing new
The ability to easily operate information submitted by users through HTML forms has always been one of the advantages of PHP. In fact, PHP version 4.1 adds several new methods to access this information and effectively removes the most commonly used
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.