For some reason, the code below is broken below the fetch_array function. Nothing looks wrong to me but i'm still fairly new. Can anybody see the problem? I would be very grateful for any help.
// Set variables.
$logID = mysql_real_escape_string($_POST['resultID']);
// Pull Scoring_Log data and assign variables.
$array = mysql_query("SELECT * FROM Scoring_Log WHERE logID='$logID'") or die(mysql_error());
$row=mysql_fetch_array($array, MYSQLI_BOTH); // CHECKPOINT 1 - CLEAR
// Players Involved.
$1stPlayer = $row['1stPlayer']; /*
$2ndPlayer = $row['2ndPlayer'];
$3rdPlayer = $row['3rdPlayer'];
$4thPlayer = $row['4thPlayer'];
$5thPlayer = $row['5thPlayer'];
$6thPlayer = $row['6thPlayer'];
$7thPlayer = $row['7thPlayer'];
$8thPlayer = $row['8thPlayer'];
// Points Awarded.
$1stPoints = $row['1stPoints'];
$2ndPoints = $row['2ndPoints'];
$3rdPoints = $row['3rdPoints'];
$4thPoints = $row['4thPoints'];
// League Involved.
$leagueName = $row['LeagueName'];
echo ("$1stPlayer");
echo ("$2ndPlayer");
echo ("$3rdPlayer");
echo ("$4thPlayer");
echo ("$5thPlayer");
echo ("$6thPlayer");
echo ("$7thPlayer");
echo ("$8thPlayer");
echo ("$1stPoints");
echo ("$2ndPoints");
echo ("$3rdPoints");
echo ("$4thPoints");
echo ("$leagueName"); */
There is more code but it is all commented out, except from the mysql_close() function. I can post the entire thing if needed.