Link to use title not filename

4 posts by 3 authors in: Forums > CMS Builder
Last Post: February 23, 2010   (RSS)

Hi Guys,

What code do I need to use to get a link displaying the 'Title' of an upload and not the filename? I'm sure it's something simple!

At the moment the code is:
- <a href="<?php echo $upload['urlPath'] ?>" class="inspection"> <?php echo $upload['filename'] ?></a>

Thanks in advance! [:)]

Re: [Djulia] Link to use title not filename

Sorry, that didn't work - it made the '...' the link but I followed along those lines and changed it to this: <a href="<?php echo $upload['urlPath'] ?>" class="inspection"> <?php echo $upload['info1'] ?></a> and that works. Thanks! :)

Re: [Kittybiccy] Link to use title not filename

By Donna - February 23, 2010

Glad to hear you got that sorted out. :)
Donna

--
support@interactivetools.com