JClark4321 Posted September 9, 2010 Share Posted September 9, 2010 So basically I am using an extension for Joomla called Mosets Tree (I am a php noob). The purpose of the extension is to display a directory of stores etc... Right now the image that is in the listing links to the listings extra details, but I want it to link to a video that I have for that specific listing (each listing has it's own .mov video) so I need to dynamically get the NAME of the listing, which is the exact same name of the video file, which is what I do not know how to do. So far I have this: /*Modified next line so that link opens using ninja shadowbox plugin---line 39*/ $html = '<a rel="shadowbox;width=648px;height=364px;" href="images/stories/videos/'; /*How can I dynamically get the video name, which is also the listing name?--line 40*/ $html .= 'NEED LISTING NAME'; /*Add's the .mov onto the end--line 41*/ $html .= '.mov'; /*Closing " tag--line 42*/ $html .= '"'; Link to comment https://forums.phpfreaks.com/topic/212953-help-with-dynamically-retrieving-something/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.