Combine personal experience and refer to online related articles to conclude. First look at a PHP anti-SQL INJECTION function: public class testclass
{
}
To prevent SQL INJECTION, you should first know what is SQL Injection,