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... 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>"; 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!! Link to comment https://forums.phpfreaks.com/topic/210621-help-with-links/#findComment-1098967 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.