Board index   FAQ   Search  
Register  Login
Board index php forum :: Database mySQL & php coding

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).
Jay
 


Return to mySQL & php coding

Who is online

Users browsing this forum: Google [Bot] and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron