Php/MySQL - creating a new page from database info.

Megan's picture

She has: 11,421 posts

Joined: Jun 1999

I'm working away on this profile application and things have been going well but now I'm stuck.

This is my results page:

http://www.housing.uwaterloo.ca/profiles/results.php

What I need to do is create a new page (lets call it showprofile.php) that will get the ID of the row from the results and display the full database info. So each row will link to showprofile.php where the full profile will be displayed. How do I do pass that value on to the next page?

Megan's picture

She has: 11,421 posts

Joined: Jun 1999

Nevermind, this page helped me: http://www.thescripts.com/forum/thread1800.html

Gee, you guys are a lot of help Wink

Now I need to figure out how to select the right row from the database...

Megan's picture

She has: 11,421 posts

Joined: Jun 1999

Yay! I did it myself! I'm a little annoyed that it took me so long to realize how easy it is to do this. I could have done a lot more over the years Smiling

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.