valtraynor Posted November 29, 2006 Share Posted November 29, 2006 PHP is creating a dynamic table using data from "mysql_query". I want the contents of table to be "live links"!!How is it done? Link to comment https://forums.phpfreaks.com/topic/28849-contents-of-dynamic-table-are-live-links/ Share on other sites More sharing options...
ToonMariner Posted November 29, 2006 Share Posted November 29, 2006 put the data into anchor tags and set the urls using all the data you need. Link to comment https://forums.phpfreaks.com/topic/28849-contents-of-dynamic-table-are-live-links/#findComment-132045 Share on other sites More sharing options...
valtraynor Posted November 29, 2006 Author Share Posted November 29, 2006 Yes, that will put contents into table or whatever but I want the contents to be "active links"!eg.Table1:ID23233 Comment Name1ID8912 Comment Name2ID3412333 Comment Name3In this sample table I want "comment" to be a "live link" to another HTML document!!RegardsVal Link to comment https://forums.phpfreaks.com/topic/28849-contents-of-dynamic-table-are-live-links/#findComment-132080 Share on other sites More sharing options...
piznac Posted November 29, 2006 Share Posted November 29, 2006 instead of just echoing the "comments" echo it wraped inside a HTML link statement[code]echo "<a href=\"yourlink.php\">comments</a>";[/code]Is that what you are looking for? Link to comment https://forums.phpfreaks.com/topic/28849-contents-of-dynamic-table-are-live-links/#findComment-132087 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.