sandbudd Posted October 26, 2010 Share Posted October 26, 2010 This works fine with a couple of exceptions... how do I add zero borders, alt tags etc... plus it is displaying like this htt:/// in the URL... <?php echo '<a href="http://'.$row['url'] .'"\" target=\"_BLANK\""><img src="images/ads/'.$row['photo'].'" /></a>'; ?> Link to comment https://forums.phpfreaks.com/topic/216856-border-0-and-alt-tags/ Share on other sites More sharing options...
sandbudd Posted October 26, 2010 Author Share Posted October 26, 2010 sorry http:/// and extra / Link to comment https://forums.phpfreaks.com/topic/216856-border-0-and-alt-tags/#findComment-1126551 Share on other sites More sharing options...
sandbudd Posted October 26, 2010 Author Share Posted October 26, 2010 take that back when I put an actual URL into the db it was fine...still need to know the other stuff... Link to comment https://forums.phpfreaks.com/topic/216856-border-0-and-alt-tags/#findComment-1126553 Share on other sites More sharing options...
sandbudd Posted October 26, 2010 Author Share Posted October 26, 2010 tried this and don't work <?php echo '<a href="http://'.$row['url'] .'"\" target=\"_BLANK\" border=\"0\""><img src="images/ads/'.$row['photo'].'" /></a>'; ?> Link to comment https://forums.phpfreaks.com/topic/216856-border-0-and-alt-tags/#findComment-1126556 Share on other sites More sharing options...
sandbudd Posted October 26, 2010 Author Share Posted October 26, 2010 got it just realized was putting in wrong spot...getting tired Link to comment https://forums.phpfreaks.com/topic/216856-border-0-and-alt-tags/#findComment-1126559 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.