How to check whether the value entered by the user in console exists in database? I have established a database connection. I got two values from console. I have to check whether the both value exists in database.
http://ideone.com/8ALYrC(Source Code)
modeste modestePosted Oct 19, 2016, 9:56 AM
Bikesh SrivastavaPosted Oct 19, 2016, 6:01 AM
Ujjwal GuptaPosted Oct 19, 2016, 2:27 AM
Afzaal Ahmad ZeeshanPosted Oct 18, 2016, 2:16 PM
This thread shares an in-depth overview of this scenario, you can see that, http://stackoverflow.com/questions/21302244/check-if-record-exists-in-database