Check in the database. What is the easiest?

Welcome. Took it into his head to make the site such a chip: the authentication by a unique number. That is, it's simple: you score the number in the box and get an answer whether this number in the database and, accordingly, legally if the goods have been sold. You can create database mysql or just keep to the text file.
Actually, the question is: are there any finished/semi-finished/unfinished solution for this?
June 14th 19 at 18:55
1 answer
June 14th 19 at 18:57
What solutions are needed for a few lines of code?

"select id, code from ubik where code='vash izumitelnui unikalbnui kod' limit 1"
You just created a turnkey solution, congratulations! - Tierra_Wolff commented on June 14th 19 at 19:00
OK , we will add CRUD operations with the entry of these codes. What's next? there is work for 15-20 minutes. - cali.Senger99 commented on June 14th 19 at 19:03
, "You have just created a ready-made solution, congratulations!" - "OK, we will add CRUD operations with the entry of these codes. What's next? there is work for 15-20 minutes."

How is your CRUD and "work for 20 minutes" with the comment "congratulations" ? - gustave_Kertzmann52 commented on June 14th 19 at 19:06
Because it's sarcasm most likely was. Type 1 line of mysql is not ready solution. - cali.Senger99 commented on June 14th 19 at 19:09
but Yes, the same... - zena21 commented on June 14th 19 at 19:12
But in fact, the author and unprepared decision? - cali.Senger99 commented on June 14th 19 at 19:15

Find more questions by tags Web Development