I counted the rows in phpmyadmin and is row 35 and the correct column, I am guessing it would be better to alter the following line
FROM
Code:
$row = $result->fetch_row();
TO
Code:
while ($row = $result->fetch_object())
{
then echo each row like the following method instead of $row[35] and so on
Code:
echo "<td><img src='images/" . (($row->indexed == 'Yes') ? 'green-check.png' : 'red-cross.png') . "' style='width: 30px; height: 30px;'></td>";
I can confirm the 'Yes' is correct in the mysql with the capitalization
Bookmarks