2017-02-26 29 views

回答

0

提供所需的空白,AND運營商和報價:

String query = "select email, password from " + table_name + " where " 
       + c_2 + " = '" + mail + "' and " + C_3 + " = '" + pass + "'"; 

另請注意,此方法很容易發生SQL注入。使用預準備的語句

+0

謝謝你 –

0

放空間:

+ " where " + .... 
相關問題