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. Environment 2. Preparation 3...
Download the rpm installation package MySQL offic...
Table of contents 1. Merge arrays 2. Merge arrays...
The previous article introduced the MySql multi-c...
Preface When introducing defineProperty before, I...
This topic is an internal sharing in the second h...
Vulnerability Description Apache Flink is an open...
【Foreword】 The SMS function of our project is to ...
Hello everyone, today I want to share with you ho...
Anyone who has used Windows Remote Desktop to con...
What is a Viewport Mobile browsers place web page...
Table of contents 1. Original Definition 2. JS op...
Table of contents The principle and function of l...
The usage of H tags, especially h1, has always bee...
The complete syntax of the select statement is: S...