Jump to content

a link in relation to database


jamesk

Recommended Posts

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

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?

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.