in a recent question on SO, a user answered it correctly (using the right concept) but his answer had a few syntax errors. I would link to his answer but he has already deleted it.
Now, I'm wondering whether I should downvote this answer, or upvote it? I've seen people getting downvoted for syntax errors before, including me, but now I'm wondering what should I do.
His syntax error was something like (PHP)
echo "Hi, my name is $row['name']";
which is a very basic syntax error