How to go to a title id page
Moderator: General Moderators
-
CoolAsCarlito
- Forum Contributor
- Posts: 192
- Joined: Sat May 31, 2008 3:27 pm
- Contact:
How to go to a title id page
I have a title histories page that stores all my titles and when you click on a pic of one of the titles I want it to go to titlehistory.php?id=1. I have it linked correctly so that it shows the correct link but I'm still lost how it will actually go to that titles page info and what not.
Re: How to go to a title id page
Please post your code.. but you need to use method GET to load the correct id:
Code: Select all
<?php
$idyouwant = $_GET['id'];
//you put this on that titlehistory page, and after that you play with your variable, lets say eg. :
echo $idyouwant;
// or
mysql_query("SELECT * FROM table WHERE id = '$id'") or die(mysql_error());