creating links within table results

Codes here !

Moderators: macek, egami, gesf

Jay

Postby Jay » Sun Sep 15, 2002 5:30 pm

You want something like this (read it very carefully):
select concat('<a href=\'linkpage.php?value=',value,'\'>',value,'</a>') from table

This would return each row with the value as a hyperlink (if outputted directly).


Return to “mySQL & php coding”

Who is online

Users browsing this forum: Bing [Bot] and 2 guests