2

I just made the following answer a question.

Put a variable in a string PHP

The question is short and shows a lack of basic language understanding from the writer. Not enough that it isn't understandable, but enough to cause some doubt.

Because of this, I decided to respond to the question, but also answer/direct the interest of future arrivals from Google, who potentially could search it up with a slightly different need.

Since I quickly got a few down-votes, I wondered if I should have been straight to the point, and only pointed out his syntax mistake, or if it was OK to elaborate the answer.

I read a few other similar meta-questions, they focus on keeping general down-voted answers, while I am looking for feedback on considering future entries to the answer.

I want to know if there is consensus towards answers that not just help the asker but also the community; for as long as the asker doesn't lose too much value? Since you could argue that this answer was broader than the asker's primary needs, but still provides value for future readers.

3
  • I can only guess that the downvotes were targetted at the initial revision of the answer, which does not really add information that wasn't already present in the existing 2 answers, and therefor considered useless.
    – user247702
    Commented Sep 27, 2016 at 12:14
  • [status-completed] The answer is no longer downvoted :)
    – user000001
    Commented Sep 27, 2016 at 12:24
  • How is it possible that the question in... question is not a duplicate?
    – Kevin B
    Commented Sep 27, 2016 at 22:36

1 Answer 1

1

If the downvotes happened after the revision, I see no reason why your answer would be downvoted. The link to the PHP docs could be a bit better, since the actual relevant documentation is behind another link in the docs you linked to (http://php.net/manual/en/language.types.string.php#language.types.string.parsing), but that's no reason to downvote imho. It should be upvoted for being a more complete answer.

We won't know the true reason, unless the people who downvoted explain their reasoning.

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .