How can I add a link to queried data?

I’m trying to add a link each returned queried record from a database table to its very own url link.

Trying to extend this code here:


<?php do { ?>

<?php echo $row_rsPackages['packageTitle']; ?>

<?php echo $row_rsPackages['packageTitle']; ?><?php echo $row_rsPackages['packageDescription']; ?>

<?php } while ($row_rsPackages = mysql_fetch_assoc($rsPackages)); ?>



What are you having troubles with? I don’t even see an attempt to make a link in the code you showed. It’s the same concept as you are doing for the img tag, but with a .

Sponsor our Newsletter | Privacy Policy | Terms of Service