"."/> ".">

Home  >  Article  >  Backend Development  >  How to implement php without refreshing submission

How to implement php without refreshing submission

藏色散人
藏色散人Original
2020-08-26 10:37:232617browse

How to implement PHP submission without refreshing: first create a form submission; then use iframe to implement submission page without refreshing the form. The usage statement is "65451ba974f978ab598be264c6e172cb065276f04003e4622c4fe6b64f465b88".

How to implement php without refreshing submission

Recommended: "PHP Video Tutorial"

Doesn’t refresh PHP when submitting? Is it possible not to refresh the form submission page? ?

For example, the sample form

can use iframe:

<iframe id="myIframe" name="myIframe" width="0" height="0" frameborder="0"></iframe>
<form method="post" target="myIframe" action="script.php">
    <input type="radio" name="test" value="Start">Start<br />
    <input type="radio" name="test" value="Stop">Stop<br />
    <input type="submit" value="GO">
</form>

The above is the detailed content of How to implement php without refreshing submission. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn