jamesk Posted March 19, 2009 Share Posted March 19, 2009 Hi I am trying to make links that are in relation to my database. I am try it make it so that one page shows a lists of links displaying the information in my "Name" field. I have a unique key set up so that each record is identifiable "id". and I want to display my record "data" Thanks for any help I have been on this one for ages and it seems like it should be really simple. Link to comment https://forums.phpfreaks.com/topic/150107-a-link-in-relation-to-database/ Share on other sites More sharing options...
Stephen68 Posted March 19, 2009 Share Posted March 19, 2009 So you want the list of names in the name field to be displayed as links that will show you the rest of the record on another page? Link to comment https://forums.phpfreaks.com/topic/150107-a-link-in-relation-to-database/#findComment-788342 Share on other sites More sharing options...
jamesk Posted March 19, 2009 Author Share Posted March 19, 2009 I want something like this <a href="*localhost/test.php?id=<php? echo $row_edit['id'] ?>*"> <php? echo $row_edit['name'] ?> </a> what I need is a way to link to the information held in my 'data' field. so how can i get the id=<php? echo $row_edit['id'] ?> to actually link to and show the relevant information in the 'data' field that any better? Link to comment https://forums.phpfreaks.com/topic/150107-a-link-in-relation-to-database/#findComment-788370 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.