rajeevthomas Posted August 13, 2010 Share Posted August 13, 2010 Hi... I am really new to this. Please help me with this... as part of a gallery, I have categories and a thumbnail. As of now the title/link to the gallery shows up on the side of the thumbnail. How can I place the link below the thumbnail? Here is the code $result_array[] = "<a href='viewgallery.php?cid=".$row[0]."'>".$row[1]."<img src='/photos/categoryimages/category".$row[0].".jpg' border=0 height='133px' width='200px' </a>"; Thank you for your help... Quote Link to comment https://forums.phpfreaks.com/topic/210621-help-with-links/ Share on other sites More sharing options...
foxsoup Posted August 13, 2010 Share Posted August 13, 2010 If I understand this correctly, maybe just rearranging your variables and adding a <br /> tag will do the trick? $result_array[] = "<a href='viewgallery.php?cid=".$row[0]."'><img src='/photos/categoryimages/category".$row[0].".jpg' border=0 height='133px' width='200px' /><br />".$row[1]."</a>"; Quote Link to comment https://forums.phpfreaks.com/topic/210621-help-with-links/#findComment-1098795 Share on other sites More sharing options...
rajeevthomas Posted August 13, 2010 Author Share Posted August 13, 2010 foxsoup... you solved it...thank you so much!! Quote Link to comment https://forums.phpfreaks.com/topic/210621-help-with-links/#findComment-1098967 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.