Results 1 to 6 of 6
Thread: $_GET Variable
Apr 5, 2006, 08:48 #1
- Join Date
- Aug 2004
- Port Sunlight
- 0 Post(s)
- 0 Thread(s)
If I have a link that opens up a page and passes the URL like so:
<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:
$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.