Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Perform the following tasks A. Create a table (users) in mysql database with following columns: User_id (varchar) Password (varchar) Insert single record (memona,112) in the

Perform the following tasks


A.


Create a table (users) in mysql database with following columns:

User_id   (varchar)

Password (varchar)

Insert single record (memona,112) in the table

(show output here after taking the screenshort)



B.


 create a web page for registration of user with 3 input fields (user id, password, re-enter password) and 1 submit button. The purpose of     


This page is to get the information from user. When user hit the submit button the control will transfer to the next page i.e., registration_pro.php.


C.


On registration_pro.php, you need to check that user have entered the both passwords (password, re-enter password) same. If no, prompt user with alert message. Otherwise, you need to verify the user_id, which user entered to do registration, from database. If user_id already occupied, prompt user with alert message. Otherwise, successfully done the registration by inserting (user id, password) in the table, users.


(use your own name for registration)


(show php code here)


(show output of the code)


Show the table records also before and after data insertion through registration pages.

Step by Step Solution

3.51 Rating (184 Votes )

There are 3 Steps involved in it

Step: 1

Programming Language used PHP HTML Tools used XAMPP for localhost and ... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Quantitative Analysis for Management

Authors: Barry Render, Ralph M. Stair, Michael E. Hanna, Trevor S. Ha

12th edition

133507335, 978-0133507331

More Books

Students also viewed these Programming questions

Question

Explain how to make a to-do list and a schedule.

Answered: 1 week ago