如何在使用PHP的post方法(post/redirect/Get)提交表单后重定向
我有以下表格:如何在使用PHP的post方法(post/redirect/Get)提交表单后重定向,php,redirect,post,get,Php,Redirect,Post,Get,我有以下表格: <form id="frmAeroportonew" name="frmAeroportonew" method="post" action="<?php echo $editFormAction; ?>"> <table> <tr> <td><input name="iata" type="text" id="iata" value="" /></td> <
<form id="frmAeroportonew" name="frmAeroportonew" method="post" action="<?php echo $editFormAction; ?>">
<table>
<tr>
<td><input name="iata" type="text" id="iata" value="" /></td>
<td><input name="icao" type="text" id="icao" value="" /></td>
<td><input name="cidade" type="text" id="cidade" value="" /></td>
<td><input name="pais" type="text" id="pais" value="" /></td>
<td><input name="destino" type="checkbox" id="destino" value="" /></td>
<td><input name="alternativo" type="checkbox" id="alternativo" value="" /></td>
<td><input name="h24" type="checkbox" id="h24" value="" /></td>
<td><input name="btnaeroportonew" id="btnaeroportonew" type="submit" value="+" /></td>
</tr>
</table>
<input type="hidden" name="MM_insert" value="frmAeroportonew">
我感谢你的帮助。谢谢将插入转到
$insertGoTo = "teste_redirect.php?iata=".$_POST['iata'];
好吧,这就是想法,但问题是什么?
$insertGoTo = "teste_redirect.php?iata=".$_POST['iata'];