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 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>"; 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
Archived
This topic is now archived and is closed to further replies.