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? Quote Link to comment 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. Quote Link to comment 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 Quote Link to comment 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? Quote Link to comment 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.