我正在尝试使用$row['file_name']
复选框输入字段末尾的内容,并将其用于value=""
.
<?php
echo "<form action=\"process.php\" method=\"post\">";
while($row = mysql_fetch_array($result))
{
echo "<input type=\"checkbox\" name=\"opt[]\" value=\" \" /> " . $row['file_name'];
echo "<br />";
}
echo "<br><br>";
echo "<input type=\"submit\" name=\"formSubmit\" value=\"Send\" />";
echo "</form>";
?>