shanelives Posted May 3, 2009 Share Posted May 3, 2009 Hi all, This might be a terribly dumb question but I'm a newbie to PHP and MySQL and this is my first post (ever). Also wasn't sure whether to post in this or the MySQL section. I'm creating a dating website at the moment and I've got to a stage where I can search member profiles via a form and generate a list of search results. What I want to be able to then do is click on any one of the search results which will take me to a page with more information about that member. I just can't seem to figure out how to return just one members profile details to a new page. Hope this makes sense (I'm addled from it!) If you need extra info just let me know thanks Link to comment https://forums.phpfreaks.com/topic/156670-unable-to-link-from-list-of-search-results-to-individual-results-php-mysql/ Share on other sites More sharing options...
Ken2k7 Posted May 3, 2009 Share Posted May 3, 2009 You can create the url like www.mydomain.com/profile.php?id=#. Have the # be the userid of the member. Then use PHP $_GET to get the variable and query the DB for information. Link to comment https://forums.phpfreaks.com/topic/156670-unable-to-link-from-list-of-search-results-to-individual-results-php-mysql/#findComment-825094 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.