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> Quote 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> Quote Link to comment https://forums.phpfreaks.com/topic/292603-something-simple-im-sure/#findComment-1497139 Share on other sites More sharing options...
Solution RidgeandGable Posted November 21, 2014 Author Solution Share Posted November 21, 2014 Thanks, I figure it out seconds after posting this. Thanks again Quote 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! Quote Link to comment https://forums.phpfreaks.com/topic/292603-something-simple-im-sure/#findComment-1497215 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.