I want to execute the SUBMIT action of a form after the SQL insert program is successfully inserted. How should I write it, fellow experts! Thank you!
if($result){
这里面应该如何写呢!
}
<form action='/1.php' name='form2' method='post'>
<input type='text' name='name' value=''>
<input type="submit" name="submit" value="UPLOAD">
</form>
滿天的星座2017-05-16 13:16:38
echo "<form style='display:none;' method='post' action='/1.php'>
<input name='test' type='text' value='test' />
</form>
<script type='text/javascript'>function load_submit(){document.form1.submit()}load_submit();</script>";