Hey I'm really new to PHP and PostgreSQP or any database in that matter. So I'm at a loss how to do this.
I need an if statement that says.
If(the username user just typed in is already in database) {
my code here
}
the variable the username that the user just typed in is $userNameSignup
how would I do that with PHP for PostgreSQL?
also how might I redirect people to a new page once they have completed the form properly?
Thanks Shelby