|
||||||
| PHP Forum Use this forum to discuss all aspects of PHP Development. PHP is a server-side, cross-platform, HTML embedded scripting language that lets you create dynamic web pages. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
| Sponsored Links |
|
|
|
|||||
|
My first question: How do you know (as a human) that the user needs nr 233? Walk me through the steps.
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall |
|
|||||
|
Well i got web page where user stores some documents: for example user stores on my web page documents vs number 200, 220, 233.
When he asks some document he can forgot or misspell(for example number can be much longer like 2345653 or sumthing) documents number. So i will give him closes number who can be hes wanted ![]() |
|
|||||
|
Is there a reason why user can't be offered a drop-down to select the document from?
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall |
|
|||||
|
Quote:
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum | My Blog Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall |
| Sponsored Links |
|
|
|
|||||
|
I got better details for my tast
![]() So here is my REAL task. I need some algorithm for my documents code. Something similar to algorithm used in credit cards(Luhn algorithm - Wikipedia, the free encyclopedia). I could use this one but i need something so i can use error correction too as i mention before. For correction i will need store some check code for each user. I need this because i want my system could work off-line(for example credit cards are valid when formula for calculation gives out 0). example: user gives 123456789(his real number is 123456788). I check it vs my algorithm correct and give out: correct is 123456788 and there where mistake in 9 position. |
|
|||||
|
I know which is right because my ALGORITHM.
Example: if in my big number(123456788) symbols sum end like this 123, then that number is correct.(warning this example is wrong )And my problem i need to find any algorithm which can be checked like this. Of coarse i dont 123 at end but i need anything to know my number according to my algorithm is right or not ![]() |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|