You could also declare those array values to variables, then there's no issue with confusing php anyway.
old:
print "<tr><td>{$row['name']}</td><td>{$row['content']}</td></tr>\n";
new:
$name = $row['name'];
$content = $row['content'];
print "<tr><td>$name</td><td>$content</td></tr>\n";
One other possible suggestion, bearing in mind you are querying on a text string and not a numeric string, consider using LIKE
"SELECT row FROM table WHERE field LIKE $string"
That way, it should pick up on incorrect capitalisations.
Alternatively, add a field to the database with INT value auto incrementing, and the query on the integer value NOT the text value.