I'm learning PHP. From an old book at my university I first learned procedural PHP and MySQL, and then found out that both were not the "best" way of doing things. So, to keep learning, I start to modify some code I have based on procedural PHP and MySQL.
The problem comes that I am currently learning Object Oriented PHP, but, for studying a completely different degree, don't have much time. So I decided to first study OOP PHP and then, when the code is up and running, PDO (equivalent to MySQL but more secure and updated).
However, while I'm learning OOP PHP, I get some questions I cannot answer myself, and decide to come to Stack Overflow. The problem is that normally, while I have a specific PHP question, I get a variable number of comments saying
please don't use mysql_* functions.
I know it's wrong, and I plan to change it before any kind of code goes into any kind of public testing. But, at the same time, to keep asking my questions and not to waste anyone's time, what do you recommend to avoid these kind of comments until I can fix it?
I normally put a disclaimer saying "shouldn't use mysql_*, use PDO instead", but it doesn't work. Similar situation is "don't reinvent the wheel", which I find convenient sometimes.
See an example here. I used a disclaimer in my code comments but still got some user to waste his time.
This question is definitely not top priority and only a small thing, but I would like to know the official view on this matter. Don't just answer "don't repeat your mistakes", I have reasons to do so as stated above.