RidgeandGable Posted November 20, 2014 Share Posted November 20, 2014 Hi Guys I'm updating my website and I'm stumped on the last section.I have a dynamic Table with various fields showing from Mysql, I use MS Access as a front end, and I have a field named Download, I enter the file location of a customers invoice and it stores the link in mysql, works perfectly. BUT, the dynamic table looks like this:Download - \users\MM4512\Invoices\Invoice23.PDF which is hyperlinked so they can download it etc.. Is there a way I can change this section from the above to a simple (Download Invoice) instead of all that text?The code used is : <td><a href="<?php echo $row_Invoices['download']; ?>" target="_blank"><?php echo $row_Invoices['download']; ?></a></td> Link to comment https://forums.phpfreaks.com/topic/292603-something-simple-im-sure/ Share on other sites More sharing options...
maxxd Posted November 20, 2014 Share Posted November 20, 2014 <td><a href="<?php echo $row_Invoices['download']; ?>" target="_blank">Download Invoice</a></td> Link to comment https://forums.phpfreaks.com/topic/292603-something-simple-im-sure/#findComment-1497139 Share on other sites More sharing options...
RidgeandGable Posted November 21, 2014 Author Share Posted November 21, 2014 Thanks, I figure it out seconds after posting this. Thanks again Link to comment https://forums.phpfreaks.com/topic/292603-something-simple-im-sure/#findComment-1497193 Share on other sites More sharing options...
maxxd Posted November 21, 2014 Share Posted November 21, 2014 Happens to the best of us - glad you got it sorted! Link to comment https://forums.phpfreaks.com/topic/292603-something-simple-im-sure/#findComment-1497215 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.