[Solved] Registering a new user [closed]


Next time, please try to include more details into your question and conduct a bit more research as this is a relatively easy answer to find out for yourself.

If you are using a SQL database you should be triggering a SQL QUERY whenever the Sign Up button is pressed — assuming that all credentials are correct and valid. Usually the SQL query will look similar to this:

$db->query(“INSERT INTO signupcredentials VALUES (‘John’, ‘Miller’,
[email protected]’)”

This is used in an example where a table called signupcredentials has been created with columns for First Name, LastName, and Email.

Now if you’re using a PHP array to store all your values (this is not recommended for login credentials) you should be adding to the array by retrieving from the $POST variables.

It seems like you’re relatively new to this so I recommend researching on various forums on how to connect/create SQL Databases or adding to PHP arrays.

1

solved Registering a new user [closed]