Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to create hyperlinks for PK and move it to the next page

Status
Not open for further replies.

gokeeffe

Programmer
Jan 11, 2005
170
IE
I need to find out how to do the following, I am currently developing a website where users log on and register their details.

The users details are stored in a MySQL database.

When someone wants to search the database they chose from 3 dropdowns on the homepage and are brought to another page to view the result. (It’s kind of like how a recruitment website works)

The person searching the database will see 6 pieces of information for every person that has registered

1>>Name 2>>Address 3>>Phone 4>>Rate 5>>Availability 6>>Location Details

My Question is this I would like to make the first field a hyperlink so that users can click on the persons name to be brought into another page to view extra details that are available for that person

Is this possible ? I think it is I have seen is many times

So my question really is how can I make the hyperlink so that the primary key is transferred to the next page

1>>Name 2>>Address 3>>Phone 4>>Rate 5>>Availability 6>>Location Details
2>>Name 2>>Address 3>>Phone 4>>Rate 5>>Availability 6>>Location Details
3>>Name 2>>Address 3>>Phone 4>>Rate 5>>Availability 6>>Location Details
4>>Name 2>>Address 3>>Phone 4>>Rate 5>>Availability 6>>Location Details
5>>Name 2>>Address 3>>Phone 4>>Rate 5>>Availability 6>>Location Details
6>>Name 2>>Address 3>>Phone 4>>Rate 5>>Availability 6>>Location Details
7>>Name 2>>Address 3>>Phone 4>>Rate 5>>Availability 6>>Location Details
8>>Name 2>>Address 3>>Phone 4>>Rate 5>>Availability 6>>Location Details

Once the primary key is successfully transferred to the next page then I can query the database for this persons details and then dynamically populate the fields.

Many thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top