SQL: if statement

Several examples to check login or register user online:

The other examples to check online:

Set up a “connect.php’ file

Then check if the user already exists…

Or the other method:

1. init.php

2. Then check valid user name or password:

3. Update user password and register the login:

or Several enquires at the same time

Multiple updates at the same time:

Print Friendly, PDF & Email

Free Cambridge YLE apps