Php echo有时有效,有时无效';为什么?

Php echo有时有效,有时无效';为什么?,php,Php,带有download.php的表单-不起作用 使用remove.php-works执行操作的表单 我错过了什么小东西吗 <table id="mytable1" width="80%" class="text-center table table-striped table-bordered table-Responsive "> <thead> <th>File Name</th> <th>File Type

带有download.php的表单-不起作用
使用remove.php-works执行操作的表单

我错过了什么小东西吗

<table id="mytable1" width="80%"  class="text-center table table-striped table-bordered table-Responsive ">
    <thead>
    <th>File Name</th>
    <th>File Type</th>
    <th>File Size(KB)</th>
    <th>Remove</th>
    <th>Download</th>
    </thead>
    </tr>

<?php
    while($item = mysql_fetch_array($result1)) {
        echo "<tr>";
        echo "<td>".$item['file_name']."</td>";
        echo "<td>".$item['file_type']."</td>";
        echo "<td>".$item['file_size']."</td>";

    // this command does not work but the next echo works - why?
        echo "<td><form action='download.php' method='GET'><input name='filename' type='hidden'  value='".$item['file_name']."'/><button  class='btn btn-danger btn-xs' type='submit' value='down'/><span class='glyphicon glyphicon-trash'></span></form></td>";

        echo "<td><form action='remove.php' method='GET'><input name='filename' type='hidden'  value='".$item['file_name']."'/><button  class='btn btn-primary btn-xs' type='submit' value='del'/><span class='glyphicon glyphicon-download'></span></form></td>";

        echo "</tr>";
    }                   
    echo "</table>";
?>

文件名
文件类型
文件大小(KB)
去除
下载

我真的不明白你想做什么。因为您隐藏了输入字段,而按钮没有任何文本?所以你什么都不应该看到?顺便说一句,按钮也应该关闭。我尝试从mysql中回显数据,每行上有两个按钮,用于删除和下载上传的文件,就像一个注释一样-您使用
glyphicon trash
进行下载,使用
glyphicon download
进行垃圾。