gpt4 book ai didi

php - 多个表单仅重定向第一个表单的操作

转载 作者:行者123 更新时间:2023-12-02 19:14:38 25 4
gpt4 key购买 nike

我在单页中使用了多个表单,因为我必须在浏览器中没有启用 javascript 的情况下工作我的页面..但问题是单页上的所有表单重定向..即所有表单都会转到第一个表单的操作..如果你可以更改第一个表单操作,然后所有表单都转到该链接...我知道有一个愚蠢的错误,但我没能弄清楚。.请帮助我...提前谢谢..

//html code

<div id="propertymenu">
<table cellspacing="20">
<tr>
<td style="background-color:#94EEF2;">
<form method="post" class='propertylist' action="mainainancebills.php">
<input type="hidden" value="<?PHP echo $buildname; ?>" name="bn">
<input type="hidden" value="<?PHP echo $flatno; ?>" name="fn">
<input type="hidden" value="<?PHP echo $area; ?>" name="area">
<input type="hidden" value="<?PHP echo $pincode; ?>" name="pc">
<input type="hidden" value="<?PHP echo $owner; ?>" name="owner">
<input type="hidden" value="<?PHP echo $property; ?>" name="pid">
<input type="hidden" value="<?PHP echo $fullname; ?>" name="fname">
<input type="hidden" value="<?PHP echo $email; ?>" name="email">
<input type="submit" value="PROPERTY DETAILS">
</font></td>

<td style="background-color:#94EEF2;">
<form method="post" class='propertylist' action="inspectionreport.php">
<input type="hidden" value="<?PHP echo $buildname; ?>" name="bn">
<input type="hidden" value="<?PHP echo $flatno; ?>" name="fn">
<input type="hidden" value="<?PHP echo $area; ?>" name="area">
<input type="hidden" value="<?PHP echo $pincode; ?>" name="pc">
<input type="hidden" value="<?PHP echo $owner; ?>" name="owner">
<input type="hidden" value="<?PHP echo $property; ?>" name="pid">
<input type="hidden" value="<?PHP echo $fullname; ?>" name="fname">
<input type="hidden" value="<?PHP echo $email; ?>" name="email">
<input type="submit" value="INSPECTION REPORTS">
</font></td>

<td style="background-color:#94EEF2;">
<form method="post" class='propertylist' action="downloaddocument.php">
<input type="hidden" value="<?PHP echo $buildname; ?>" name="bn">
<input type="hidden" value="<?PHP echo $flatno; ?>" name="fn">
<input type="hidden" value="<?PHP echo $area; ?>" name="area">
<input type="hidden" value="<?PHP echo $pincode; ?>" name="pc">
<input type="hidden" value="<?PHP echo $owner; ?>" name="owner">
<input type="hidden" value="<?PHP echo $property; ?>" name="pid">
<input type="hidden" value="<?PHP echo $fullname; ?>" name="fname">
<input type="hidden" value="<?PHP echo $email; ?>" name="email">
<input type="submit" value="DOWNLOAD DOCUMENTS">
</font>
</td>
</tr>

<tr>
<td style="background-color:#94EEF2;">
<form method="post" class='propertylist' action="downloaddocument.php">
<input type="hidden" value="<?PHP echo $buildname; ?>" name="bn">
<input type="hidden" value="<?PHP echo $flatno; ?>" name="fn">
<input type="hidden" value="<?PHP echo $area; ?>" name="area">
<input type="hidden" value="<?PHP echo $pincode; ?>" name="pc">
<input type="hidden" value="<?PHP echo $owner; ?>" name="owner">
<input type="hidden" value="<?PHP echo $property; ?>" name="pid">
<input type="hidden" value="<?PHP echo $fullname; ?>" name="fname">
<input type="hidden" value="<?PHP echo $email; ?>" name="email">
<input type="submit" value="STATEMENT OF ACCOUNT">
</font></td>

<td style="background-color:#94EEF2;">
<form method="post" class='propertylist' action="electricitybills.php">
<input type="hidden" value="<?PHP echo $buildname; ?>" name="bn">
<input type="hidden" value="<?PHP echo $flatno; ?>" name="fn">
<input type="hidden" value="<?PHP echo $area; ?>" name="area">
<input type="hidden" value="<?PHP echo $pincode; ?>" name="pc">
<input type="hidden" value="<?PHP echo $owner; ?>" name="owner">
<input type="hidden" value="<?PHP echo $property; ?>" name="pid">
<input type="hidden" value="<?PHP echo $fullname; ?>" name="fname">
<input type="hidden" value="<?PHP echo $email; ?>" name="email">
<input type="submit" value="ELECTICITY BILLS">
</font></td>

<td style="background-color:#94EEF2;">
<form method="post" class='propertylist' action="downloaddocument.php">
<input type="hidden" value="<?PHP echo $buildname; ?>" name="bn">
<input type="hidden" value="<?PHP echo $flatno; ?>" name="fn">
<input type="hidden" value="<?PHP echo $area; ?>" name="area">
<input type="hidden" value="<?PHP echo $pincode; ?>" name="pc">
<input type="hidden" value="<?PHP echo $owner; ?>" name="owner">
<input type="hidden" value="<?PHP echo $property; ?>" name="pid">
<input type="hidden" value="<?PHP echo $fullname; ?>" name="fname">
<input type="hidden" value="<?PHP echo $email; ?>" name="email">
<input type="submit" value="OTHERS">
</font></td>
</tr>

<tr>
<td style="background-color:#94EEF2;">
<form method="post" class='propertylist' action="expensestracker.php">
<input type="hidden" value="<?PHP echo $buildname; ?>" name="bn">
<input type="hidden" value="<?PHP echo $flatno; ?>" name="fn">
<input type="hidden" value="<?PHP echo $area; ?>" name="area">
<input type="hidden" value="<?PHP echo $pincode; ?>" name="pc">
<input type="hidden" value="<?PHP echo $owner; ?>" name="owner">
<input type="hidden" value="<?PHP echo $property; ?>" name="pid">
<input type="hidden" value="<?PHP echo $fullname; ?>" name="fname">
<input type="hidden" value="<?PHP echo $email; ?>" name="email">
<input type="submit" value="DETAIL OF EXPENSES">
</font></td>

<td style="background-color:#94EEF2;">
<form method="post" class='propertylist' action="mainainancebills.php">
<input type="hidden" value="<?PHP echo $buildname; ?>" name="bn">
<input type="hidden" value="<?PHP echo $flatno; ?>" name="fn">
<input type="hidden" value="<?PHP echo $area; ?>" name="area">
<input type="hidden" value="<?PHP echo $pincode; ?>" name="pc">
<input type="hidden" value="<?PHP echo $owner; ?>" name="owner">
<input type="hidden" value="<?PHP echo $property; ?>" name="pid">
<input type="hidden" value="<?PHP echo $fullname; ?>" name="fname">
<input type="hidden" value="<?PHP echo $email; ?>" name="email">
<input type="submit" value="MAINTENANCE BILLS">
</font></td>

<td style="background-color:#94EEF2;">
<form method="post" class='propertylist' action="ownerhome.php">
<input type="hidden" value="<?PHP echo $property; ?>" name="pid">
<input type="submit" value="BACK">
</form></td>
</tr>
</table>
</div>

最佳答案

你有

</font> 

而不是

</form> 

那里有一点。

关于php - 多个表单仅重定向第一个表单的操作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13283260/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com