Jump to content

href link to an entry in my database


stan801003

Recommended Posts

Hi, Can anybody give me some ideas please.  I have been working on a script where a search query returns  the results of a search.  To save space the table only shows a couple of the fields.  what i am trying to achieve is that one of the fields provides a link which when clicked will display all of that entries in that row of the database. 

I have been playing around with href, but i can not get it to link to a row, as it just keeps coming up with a 404 error.

Any suggestions or ideas would be appreciated thanks.

Link to comment
https://forums.phpfreaks.com/topic/31796-href-link-to-an-entry-in-my-database/
Share on other sites

1.conect database connection
2.display all in formation form the database.
3.use href to link to the correct info you need via the users id in the href link.
4.when user press the link the new page opens with that users information via the id what was in the href ok.

the new page would also have a database connection and a select statement and a while loop but using a get for the were clause to get that users information.

merry xmass
good luck.

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.