-1
A
回答
0
提供所需的空白,AND
運營商和報價:
String query = "select email, password from " + table_name + " where "
+ c_2 + " = '" + mail + "' and " + C_3 + " = '" + pass + "'";
另請注意,此方法很容易發生SQL注入。使用預準備的語句
+0
謝謝你 –
0
放空間:
+ " where " + ....
相關問題
- 1. (1)近零語法錯誤
- 2. android.database.sqlite.SQLiteException:(1)近 「」 語法錯誤
- 3. SQLite錯誤(1):接近「=」:語法錯誤
- 4. (1)在「existsUserInformation」附近:語法錯誤
- 5. Django的:DatabaseError:近」 ...... 1" :語法錯誤
- 6. android.database.sqlite.SQLiteException:近 「組」:語法錯誤(代碼1):
- 7. android.database.sqlite.SQLiteException:近「ON」:語法錯誤(代碼1)
- 8. SQLiteException:近「=」:語法錯誤(代碼1)
- 9. android.database.sqlite.SQLiteException:近「(」:語法錯誤(代碼1):
- 10. android.database.sqlite.SQLiteException:近 「)」:語法錯誤(代碼1)
- 11. SQLiteException近「(」語法錯誤代碼1
- 12. android.database.sqlite.SQLiteException:近「s」:語法錯誤(代碼1):,
- 13. SQLiteLog:(1)近 「Produse」:語法錯誤
- 14. E/SQLiteLog:(1)靠近「,」:語法錯誤
- 15. MySql語法錯誤:您在第1行「'附近的SQL語法錯誤
- 16. psql:錯誤:在「或」附近的語法錯誤「LINE 1:
- 17. 近 「)」:語法錯誤
- 18. 語法錯誤在或近
- 19. Android:Sqlite錯誤 - (1)在「null」附近:語法錯誤
- 20. Android SQLite錯誤:(1)在「創建」附近:語法錯誤
- 21. PSQL:錯誤:在語法錯誤或接近「」 LINE 1:我»¿
- 22. 的Rails:PG ::語法錯誤:錯誤:語法錯誤或接近 「:」
- 23. 錯誤的語法靠近');
- 24. 「。」附近的語法錯誤。
- 25. 「*」附近的語法錯誤
- 26. 「/」附近的語法錯誤
- 27. 附近的語法錯誤╗┐
- 28. 錯誤:在「DISTINCT」附近:語法錯誤
- 29. SQLITE錯誤E/SQLiteLog:(1)附近的 「月」:語法錯誤
- 30. sqlite的返回:錯誤碼= 1,味精=近 「file_theme_column」:語法錯誤
複製所需的錯誤和代碼。不要發佈桌面屏幕並強制用戶手動複製代碼以回答 –
[爲什麼「有人可以幫助我?」不是真正的問題?](http://meta.stackoverflow.com/q/284236 ) – EJoshuaS