How can I avoid duplicate data from my data base like username and email | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How can I avoid duplicate data from my data base like username and email

Php

21st May 2020, 7:33 PM
Dam Legxs
Dam Legxs - avatar
3 Answers
+ 4
Dam Legxs Before creating account you need to check if email or username already exists in database.
21st May 2020, 8:04 PM
A͢J
A͢J - avatar
0
I did all u guys mentioned, but I tried to echo back that the details already exists but it neither echo back nor create duplicate details. please help
21st May 2020, 11:58 PM
Dam Legxs
Dam Legxs - avatar
- 2
simple if else statement would do
21st May 2020, 7:34 PM
durian
durian - avatar