在PHP中隐藏复选框

时间:2013-10-10 19:34:46

标签: php html forms checkbox

出于某种原因,复选框不会出现,但是当我将它们移出它们出现的表格时。此外,它们出现在IE中,但不是Chrome。

    <p><span style="color: #474747; font-size: 1.35em; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.85em;">Delete Images </span>
     <?php
    // SCAN DIRECTORIES
    $dirG    = '../products/'.$trailertoedit.'/gallery/';
    $dirGallerys = scandir($dirG);

    foreach ($dirGallerys as $dirGallery) {
        if ($dirGallery === '.' or $dirGallery === '..' or $dirGallery === 'index.php') continue;

        if (is_dir($dirG)) {
            echo '<br>checkbox<input type="checkbox">Delete '.$dirGallery.' -> ';
            echo '<a href="'.$dirG.$dirGallery.'" data-lightbox="trailer"><img src="'.$dirG.$dirGallery.'" height="100px"></a>';
        }

    }

    ?>

0 个答案:

没有答案