Hey folks.
So here is my problem. I need to create php script where will be checked documents nr.
For example user x requesting document nr 235, but for real he need 233. I need give out message like this: document nr 235 not found and make "suggestion" to look at 233.
I hear it kinda can be done vs hamming code, but its can correct only 1 number mistake for example 235 to 234

. Maybe there is some other method to use at this point?!
ty for any response
