I would like to start my question by saying, I realize PDO/mysqli is the new standard and has been widely covered on SO. However in this particular case I dont have time to conv
Your main concern should be this outdated approach, which is leaving your client's site vulnerable to SQL injection attack.
While regarding this trifle matter of using yet another irrelevant function, there is nothing to worry about.