代码 4-35 添加代码用于创建搜索框
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>STITERM</title> </head> <body> <form action="result.php" method="POST"> <table> <tr> <td> <input type="text" name="query" placeholder="请输入检索词" > </td> <td> <button type="submit">搜索</button> </td> </tr> </table> </form> </body> </html>