PHP, MySQL. antipower


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
56 views
The bottom line is this:
Have a database which contains for example the name of the author (user).
The user can enter: Pushkin, Alexander Pushkin, Alexander Pushkin, And Pushkin, And Pushkin (well, you understand. How is it right to fight? That was not in VK, and the like.
by | 56 views

5 Answers

0 like 0 dislike
Make a list from which users will choose. And give the ability to add new authors with moderation.
by
0 like 0 dislike
make some of the fields, Name Surname Patronymic and check when you try to add.
by
0 like 0 dislike
I think I understand what the author wants. If you only need the name — cut everything after a space. Or JavaScript om do not let him to do the space (and the special characters would not hurt). But 'Puskas' will not save
by
0 like 0 dislike
The name was a specific case. What to do If it's not the person's name and for example name something that you can write in different ways. Say the name 3 words that the user can swap, to take just one word in parentheses or quotation marks, etc.
by
0 like 0 dislike
Allow one "normal" form: drop the garbage (punctuation, for example), convert to single register, deploy, reducing (or conversely, collapse them)to sort the words alphabetically
by

Related questions

0 like 0 dislike
2 answers
0 like 0 dislike
2 answers
110,608 questions
257,186 answers
0 comments
28,049 users