<tr bgcolor="<?php echo $rowColor ?>" >
<td><font face="Arial, Helvetica, sans-serif"><?php echo $f4; ?></font></td>
<td><font face="Arial, Helvetica, sans-serif"><?php echo $f5; ?></font></td>
<td><font face="Arial, Helvetica, sans-serif"><?php echo $f3; ?></font></td>
<td><font face="Arial, Helvetica, sans-serif"><?php echo $deliv_date; ?></font></td>
</tr>
<?php
$i++;
}
mysql_close();
?>
<tr bgcolor="<?php echo $rowColor ?>" >
<td>
<strong>Total:</strong>
</td>
<td colspan="1"> </td>
<td ><font face="Arial, Helvetica, sans-serif"><?php echo $f8; ?></font></td>
</td>
</tr>
</table>
</div>
<div id="footer">
<hr/>
<div class="buttonwrapper">
<a class="boldbuttons" href="invoice_conf.php" <?php if ($deliv_date != '0000-00-00') echo 'disabled="disabled"' ?>><span>confirm delivery</span> </a>
</div>
当交货日期非零时,我试图禁用最后一个 div 中的链接。正如您在随附的屏幕截图中所见,我的交货日期不为零。当我尝试链接时,它没有被禁用。有谁知道为什么会这样,
谢谢