If I have a link that opens up a page and passes the URL like so:
And on that page it displays the right information.
<a href="handmade_range.php?handmade_id=<?php echo $row_handmade['handmade_id']; ?>"><?php echo $row_handmade['handmade_name']; ?></a>
At the moment it just displays all the information that is associated with the first record in the database. So i'm assuming that I need to work on the query:
This actually doesn't work, but I can't see why.
$handmade_sql = mysql_query("select * from handmade WHERE handmade_id = handmade_id") or die(mysql_error());
$row_handmade = mysql_fetch_assoc($handmade_sql);
Like I said earlier PHP isn't my best, but you should have seen me last year.
Any help would be great.