i want user to not enter his/her name twice when he or she once creates his/her account. What code should i write guys tell me?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

i want user to not enter his/her name twice when he or she once creates his/her account. What code should i write guys tell me??

16th May 2021, 12:33 PM
Davinder Kumar
Davinder Kumar - avatar
2 Answers
0
see his/her details exists in your database , if not then let them create ! ex: if same email / mobile_number trying to create new account (edit): check username also
16th May 2021, 12:37 PM
Giriraj Yalpalwar
Giriraj Yalpalwar - avatar
0
ex: user enters (davidmalan87) he successfully created his account another user enters(davidmalan87) he should be unable to create his account so here what should i need to write 🙂
16th May 2021, 12:43 PM
Davinder Kumar
Davinder Kumar - avatar