a search result page that leads to a specific page

You would send a unique identifier as a parameter to your page. Like this:

echo '<tr><td><a href="indivpage.php?title_id=' . $row[titleID'] . '">' . $row["titleID"] . '</a>...etc...</td></tr>';

Then in your indivpage.php you would use $_GET['title_id'] to fetch all the details from the database.

Let me add to this that there is very much wrong with the code you wrote. To begin with I would suggest to read about SQL injection

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top