The google.html interface is as shown in the figure![]() The code is as shown in the figure: (relatively simple, just an input input box and an input submit button. Note that type is submit, not button) Copy code The code is as follows:<html> <head> <title>Winbobo</title> </head> <body> <div align="center"> <form action="google.php" method="get"> <input name="q" type="text"/> </br> <input name="btnSearch" type="submit" value="Search" /> </form> </div> </body> </html> The code of google.php is as follows: ($_GET is used to obtain the data passed by the form through the get method; $_POST is used to obtain the data passed by the form through the post method) Copy code The code is as follows:<?php print "<pre>"; print_r($_GET); print "</pre>"; ?> The running results are shown in the figure: ![]() |
<<: Five guidelines to help you write maintainable CSS code
>>: MySQL date and time addition and subtraction sample code
Table of contents 1. Official Documentation 2. Cr...
watch : listen for data changes (change events of...
Problem Description There is a type of query call...
First, let's introduce a few key points about...
Achieve resultsImplementation Code html <base ...
Time always passes surprisingly fast without us n...
This is a cheating scheme for voting websites wit...
Table of contents Preface Array.isArray construct...
The uniapp applet will have a similar drop-down p...
This article shares the specific code of js to ac...
This article shares the specific code of the js n...
Make a note so you can come back and check it lat...
This article briefly describes how to use Docker ...
selinux ( Security-Enhanced Linux) is a Linux ker...
ElementUI implements the table list paging effect...