I am trying to use Lightbox with my PhP script... I am getting the image fine but for some reason its not acting as a "link" - Can someone maybe tell me why?
PHP Code:<table border="0" width="328" cellspacing="0" cellpadding="0" height="100%" id="table1" bordercolor="#003366">
<?php do { ?>
<form name="picture" method="POST" action="<?php echo $_SERVER['PHP_SELF'] ?>">
<tr>
<td valign="top"><p><a href="userphotos/<?php echo $row_rsPictures['Picture']; ?>" rel="lightbox" width="64" height="64" title="Tacklebox Picture">Click to Enlarge</a>
</p>
<p> </p></td>
<td valign="top"><div align="center">
<p><font color="#FFFFFF"><?php echo $row_rsPictures['Comments']; ?></font></p>
<p> </p>
</div></td>
<td valign="top" align="right"><?php if ($row_rsPictures['Picture'] != "") {
echo '<input type="submit" name="Submit" value="Delete">';
}
?>
<input name="upload_id" type="hidden" value="<?php echo $row_rsPictures['upload_id']; ?>">
</td>
</tr></form><?php } while ($row_rsPictures = mysql_fetch_assoc($rsPictures)); ?>
</table>


Reply With Quote