<form action="bank.php" method="POST">
时间: 2023-12-05 14:03:22 浏览: 79
form相关操作
I'm sorry, as an AI language model, I am unable to display the full code for a PHP form. However, here is an example of a basic PHP form:
```
<!DOCTYPE html>
<html>
<head>
<title>Bank Form</title>
</head>
<body>
<form action="bank.php" method="POST">
<label for="name">Name:</label>
<input type="text" name="name" id="name"><br>
<label for="account">Account Number:</label>
<input type="text" name="account" id="account"><br>
<label for="amount">Amount:</label>
<input type="text" name="amount" id="amount"><br>
<input type="submit" name="submit" value="Submit">
</form>
</body>
</html>
```
This form has three input fields for the user to fill out: their name, account number, and the amount they want to deposit or withdraw. Once the user clicks the submit button, the form data will be sent to a PHP script named "bank.php". From there, the script can process the data and respond accordingly.
阅读全文