User exists when no users are in database
Hey guys, so when I enter a username onto my forms, it gives me an error saying username already exists when it doesnt yet on my database. Any ideas on why this is happening?
1 Reply
Hello, @Smileyface! This is because your query returns array, so for
if
statement condition is true