我有一个用 php 生成的页面。我从另一个工作页面复制了代码,在里面我有:
echo "<center><form name='login_data23' method='post' action='fck_nuovo_documenti.php'><table border='1' rules='rows' width='1040'>";
echo "<tr>";
echo "<td width='400' valign='top'><input type='text' name='titolo' size='25' maxlength='30' value='titolo nuovo documento'/></td>";
echo "<td width='400' valign='top'></td>";
echo "<td width='40' valign='top'>
<button type='submit' name='submit' title='Inserisci nuovo documento pdf' value='pdf'><img src='./img/icona_pdf.png' /></button></td>";
echo "<td width='40' valign='top'><button type='submit' name='submit' title='Inserisci nuovo documento' value='html'><img src='./img/icona_nuovo.png' /></button></td>";
echo "<td width='40' valign='top'></td><td width='40' valign='top'>";
echo "<td width='40' valign='top'></td>";
echo "<td width='40' valign='top'></td>";
echo "<td width='40' valign='top'></td>";
echo "</tr></table></form><table border='1' rules='rows' width='1040'>";
该页面已正确显示,但一旦您按下表单的一个按钮,似乎只会重新加载页面。在我得到它的页面上,它运行良好......
有什么建议么?先感谢您 !