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>'; ?> Quote Link to comment Share on other sites More sharing options...
sandbudd Posted October 26, 2010 Author Share Posted October 26, 2010 sorry http:/// and extra / Quote Link to comment 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... Quote Link to comment 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>'; ?> Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.