Skip to main content
Inspiring
September 11, 2008
Answered

Move to specific record

  • September 11, 2008
  • 2 replies
  • 420 views
I am building a PHP detail page with a navigation list of database records down the left side, and the middle will display info for each of those records, so when one of the links on the left is clicked, the page reloads and displays the relevent info.

Thing is, it's not doing it! It is still displaying the first record of the db no matter what record is clicked.

I have a recordset for the navigation list, and I have a recordset for the content; I have a 'go to detail page' set up on the navigation recordset which posts to itself, ie. the same page it is on already, and the url displays the correct record ID; the page also has a 'move to specific record' behaviour which is based on the content recordset, but it's not working.

What am I missing? Obviously, I am doing something wrong. Can I not have content on a detail page where a DB driven link can post to the same detail page?

Does that makes sense?

Mat
This topic is closed to new replies. Start a new post to keep the conversation going.
Correct answer matthew stuart
Cooorrrr!, It's totally different to asp isn't it! I managed to figure it out by myself.

Thanks for all your help though...

Tch!

2 replies

matthew stuartAuthorCorrect answer
Inspiring
September 12, 2008
Cooorrrr!, It's totally different to asp isn't it! I managed to figure it out by myself.

Thanks for all your help though...

Tch!
Inspiring
September 11, 2008
Right, I have just built a list page and a detail page to test this out. I have done this hundreds of times in asp, but it doesn't seem to be working in php!

1/On the list page I have a list of database records that link to the detail page.
2/When the link is clicked I have a go to detail page and I am passing the url parameter of fld_id
3/On the detail page I have the move to sepcific record behaviour which is collecting the fld_id parameter

Is that not right? Is it handled differently in PHP to how it should be done in asp?

Mat