前端输入字符串英文或者中文无法校验

检验sql语句是否加   ''

错 String sql = "SELECT * FROM website where account=" + account;
对 String sql = "SELECT * FROM website where account='" + account+"'";
posted @ 2021-12-14 14:10  小魏同学呀  阅读(106)  评论(0)    收藏  举报