I am adding to my form like this:
<input type="hidden" name="vlink" value="0" /><input name="vlink" type="checkbox" id="vlink" value="1" />
Basically I want my query to check if the checkbox is checked and:
If 'vlink' is 0 print: nothing
If 'vlink' is 1 print:
<ul class="gallery clearfix"><li><a href="<?php echo $row_Archives['gallery']; ?>?iframe=true&width=80%&height=80%" rel="prettyPhoto"><img src="images/bttm-view.jpg" width="140" height="27" border="0" /></a></li></ul>
Thank you so much for your help
I researched on the web and found this but I can't seem to implement it.
<?php
$checkbox = ($_GET['vlink'] == 1); {
print "" ?>