bigb42
|
| Posted: 05/11/2003, 12:51 AM |
|
This is my problem. I have a page that displays the player with a link to their name going to a full details page. This page works fine except when i want to display their achievements it displays all the players in my tables achievements. I want to single out the achievemnts of the player that the page is linked to. How do I do this.
Current problem with the grid is that it shows all achievemnts in the table, I just want to single out 1 players information. I use PHP with Mysql.
|
|
|
 |
bigb42
|
| Posted: 05/11/2003, 10:02 PM |
|
can anyone help me
|
|
|
 |
RipCurl
|
| Posted: 05/12/2003, 8:55 PM |
|
IS your player assigned an "id" in your MySQL table?
ie
player_id / playername / etc
1 / bernice / 23 goals
You can pass the parameter player_id = player_id from your grid (outut player_id=player_id ) and on your record page/grid INPUT player_id = player_id
|
|
|
 |
Bigb42
|
| Posted: 05/13/2003, 5:25 AM |
|
I can do that with a record builder but whenever I get the grid it dispays all data in my table. I cant seem to sift out 1 players data.
|
|
|
 |