Chesterisanerd Posted January 14, 2007 Share Posted January 14, 2007 I'd like to make a link to an mp3 file on each row..The direct path link to the files are in an sql db.How do I make the link show up in the table?the direct path is in a field called link..Any suggestions? Thanks[img]http://www.joepotraza.com/music/images/code.jpg[/img] Link to comment https://forums.phpfreaks.com/topic/34119-can-i-use-an-sql-field-as-a-link/ Share on other sites More sharing options...
trq Posted January 14, 2007 Share Posted January 14, 2007 [code=php:0]print "<td><a href='{$info['link']}'>{$info['link']}</a>";[/code] Link to comment https://forums.phpfreaks.com/topic/34119-can-i-use-an-sql-field-as-a-link/#findComment-160479 Share on other sites More sharing options...
Chesterisanerd Posted January 14, 2007 Author Share Posted January 14, 2007 Thank you very much!!!!! That's exactly what I needed. :) Link to comment https://forums.phpfreaks.com/topic/34119-can-i-use-an-sql-field-as-a-link/#findComment-160483 Share on other sites More sharing options...
ShogunWarrior Posted January 14, 2007 Share Posted January 14, 2007 If only everyone asked questions like that. Link to comment https://forums.phpfreaks.com/topic/34119-can-i-use-an-sql-field-as-a-link/#findComment-160486 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.