Thank for the help,
I have made the download count work, but the show if dose not work for me.
I have a small message beside my downlaod button showing the number of downlaods and I have exceeded 9 downlaods when the limit is 5.
And the downlaod button still appears.
Here is my code
<?php if($row_WADAsiteezyecorderdetails['downloadcount'] <= "5") ?>
</p>
<p><?php echo $row_WADAsiteezyecorderdetails['downloadcount']; ?> Out to 5 Downloads Used</p>
<form id="form1_<?php echo $row_WADAsiteezyecorderdetails['ProductID']; ?>2" name="form1_<?php echo $row_WADAsiteezyecorderdetails['ProductID']; ?>" method="post" action="">
<input name="hiddenField2" type="hidden" id="hiddenField2" value="<?php echo $row_WADAsiteezyecorderdetails['ProductLocation']; ?>" />
<input type="submit" name="download2" id="download2" value="Download" class="dbut" />
</form>
<?php } ?>
Hope you can help