New course! Every coder should learn Generative AI!
Try a free lesson0
How can I avoid duplicate data from my data base like username and email
Php
3 Answers
+ 4
Dam Legxs Before creating account you need to check if email or username already exists in database.
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
- 2
simple if else statement would do