【发布时间】:2012-12-02 16:32:33
【问题描述】:
如何将 html 表单放入 PHP while 循环中?
它是这样想的,但它不起作用:
<?php
$i=1;
while ($i<=5){
<form name="X" action="thispage.php" method="POST">
<input type="text">
<input type="submit">
</form>;
$i=$i+1;
}
?>
【问题讨论】:
-
什么“不起作用”?结果是什么,你有什么期望?
标签: php html forms loops while-loop