dchapma123 Posted October 18, 2005 Share Posted October 18, 2005 I'm hoping someone can help me with this. It seems like it should be a pretty simple thing to do, so I'm probably missing something small. I have a database with review articles in it. On my index page, I have a link to the most recent article. I do this by using Dynamic Text in Dreamweaver to show the article title from the recordset, then have create a hyperlink from the article with the following: name=idreview, parameter=<?php echo $row_rsReviews['idreview']; ?>. This link opens in a page called review.php, and works fine. However, on the review.php page, I have a list of the other articles in the database. My intention is to make them linkable as well, and have them also open in review.php (where the first article opens). I create the links the same way, but they don't open. I've even tried having them open in a different page, but it just blinks and stays with the initial (most recent) article. I'm pretty new to PHP and MySQL, so I'm not sure what's going on. I'm wondering if I need to write an extra query perhaps, but I can't see why? If I've got the record ID, should it bring up the record? Help me out? Thanks, Dave... Quote Link to comment https://forums.phpfreaks.com/topic/2684-url-parameter-to-load-in-same-page/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.