I apologise if there is already a thread for this but I have been searching around here and in google for a while and can't find the answer to my problem.
I have a php program http://www.vamosbrigade.com/headtohead2.php
This contains the following code
This means that if you click on the displayed player name you should open a new page that gives the results details for that playerrow = mysql_fetch_assoc($tableresult);
echo "<tr><td class='ResultsTable3c'>";
echo "<a href=\"http://www.vamosbrigade.com/h2hplayer4.php?player=".$row[PlayerIDFK]."\">".$row['LastName']."</a>, ".$row['FirstName']."</td><td class='ResultsTable6c'>".$row['Wins']."</td><td class='ResultsTable6c'>".$row['Losses']."</td><td class='ResultsTable6c'>".$row['Total']."</td></tr>";
However that page does not display the player details.
It contains this code
However, nothing happens except the display of the headings.$playerresult = DBQuery(" SELECT FirstName, LastName, PlayerIDPK
FROM Player WHERE Player.PlayerIDPK = '".$player."' ");
It works fine if I hard code the player number into the code so I am assuming the problem is somewhere in the calling string.
This all worked OK until a recent upgrade to our server so I'm guessing it's a new version of php.
Can anyone show me where I've gone wrong?