jgkgopi Posted May 29, 2011 Share Posted May 29, 2011 <?php echo $row_Recordset1['name']; ?> i want to convert the name in to like <a href=main.php?name= $row_Recordset1['name'] >> in databse i has 3 name Steve Mark Lisa i want that names into link like main.php?name=mark and so on how to do it help me h Quote Link to comment https://forums.phpfreaks.com/topic/237753-convert-text-to-link-which-retrieve-from-database/ Share on other sites More sharing options...
eMonk Posted May 29, 2011 Share Posted May 29, 2011 echo "<a href='main.php?name=" . $row['name'] . "'>" . $row['name'] . "</a>"; Quote Link to comment https://forums.phpfreaks.com/topic/237753-convert-text-to-link-which-retrieve-from-database/#findComment-1221781 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.