stan801003 Posted December 25, 2006 Share Posted December 25, 2006 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 More sharing options...
redarrow Posted December 25, 2006 Share Posted December 25, 2006 1.conect database connection2.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. Link to comment https://forums.phpfreaks.com/topic/31796-href-link-to-an-entry-in-my-database/#findComment-147454 Share on other sites More sharing options...
stan801003 Posted December 25, 2006 Author Share Posted December 25, 2006 Thank you.Merry christmas Link to comment https://forums.phpfreaks.com/topic/31796-href-link-to-an-entry-in-my-database/#findComment-147581 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.