@techy-coder Moving to PDO isn't the only solution, but you have put off using a decent library to process SQL for at over
three years and also not using prepared statements by default. You're opting into having multiple problems. That's not our problem, and helping people who deliberately insist on making poor software decisions is off-topic for this room.