crazylegseddie Posted August 14, 2006 Share Posted August 14, 2006 Can anyone help me and tell me how to turn this $row into a url.[code]<?php $result = mysql_query('SELECT top_disc FROM tbl_top20 WHERE top_id=1') or exit(mysql_error()); $row = mysql_fetch_assoc($result); echo $row['top_disc']; ?>[/code]I need the $row['top_disc]' to link to 'discs.php'. Any help will be coolthx Quote Link to comment Share on other sites More sharing options...
AndyB Posted August 14, 2006 Share Posted August 14, 2006 [code]echo "<a href='discs.php'>". $row['top_disc']. "</a>";[/code] Quote Link to comment Share on other sites More sharing options...
crazylegseddie Posted August 14, 2006 Author Share Posted August 14, 2006 thank you 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.