One question was asked in 2008. Another question was asked in 2010. The question which was asked in 2008 is closed as duplicate of the question asked in 2010, with the following text:
This question has been asked before and already has an answer.
Since this is impossible unless you have a time machine, the reason in situations like this should be changed to something like "this question was asked in a better format" or "this question has better answers". Otherwise, it makes no sense.
Edit: My question got flagged as duplicate while the other question got 6 upvotes and mine got 40 (inconsistency is unbelievable). BTW, the text says
This question may already have an answer here
but the question doesn't have one. So, why is my question flagged instead of the other one?
Can you try to solve these subjectivity problems instead of flagging everything? The other question has already been forgotten and we all know no one would ever see it again.
Edit: Months have been passed and nothing has changed. Will anyone care about the site?
mysql_*
functions -- there was a time that they were the common, accepted answer to "How do I MySQL from PHP?". Now, you're told to use other tech -- the question is still relevant, but the answer changed. In that case, you'd want to indicate that "a better answer exists [here]", which is what the question is getting at.