Unlock the Power of Open Source! The " Linux New " SWAYAM Plus Course is live now and about 2,500 learners have already registered for it.

If you are a registered learner, the forum page is now active. Visit the page and get all your questions answered.

User Registration Part 4 - English

6225 visits



Outline:

User Registration Part 4 Inserting inputed information from the user into the database table through query. mysql_connect("hostname", "username", "password") - Connect to the Database Server with the authorized user and password. mysql_select_db("database_name") - This selects a database within a connected database server mysql_query('TYPE_HERE_YOUR_MYSQL_QUERY') - It is used to run specific queries on our database. Here it inserts different fields into the database table.