creating links within table results

Codes here !

Moderators: macek, egami, gesf


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: No registered users and 1 guest