Jump to content

Help with links...


rajeevthomas

Recommended Posts

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.