4th quarter 17 php & my sql registration page
-
Upload
esmeraldo-jr-guimbarda -
Category
Technology
-
view
17.427 -
download
0
description
Transcript of 4th quarter 17 php & my sql registration page
![Page 1: 4th quarter 17 php & my sql registration page](https://reader034.fdocuments.us/reader034/viewer/2022051323/549b2b1cb479591a098b46d8/html5/thumbnails/1.jpg)
PHP & MySQL(Registration Page)
by: Engr. Esmeraldo T. Guimbarda Jr.
![Page 2: 4th quarter 17 php & my sql registration page](https://reader034.fdocuments.us/reader034/viewer/2022051323/549b2b1cb479591a098b46d8/html5/thumbnails/2.jpg)
Activity:
Open Xampp Control Panel:
![Page 3: 4th quarter 17 php & my sql registration page](https://reader034.fdocuments.us/reader034/viewer/2022051323/549b2b1cb479591a098b46d8/html5/thumbnails/3.jpg)
Check running services of XAMPP.
![Page 4: 4th quarter 17 php & my sql registration page](https://reader034.fdocuments.us/reader034/viewer/2022051323/549b2b1cb479591a098b46d8/html5/thumbnails/4.jpg)
Open your web browser and type in localhost/phpmyadmin
![Page 5: 4th quarter 17 php & my sql registration page](https://reader034.fdocuments.us/reader034/viewer/2022051323/549b2b1cb479591a098b46d8/html5/thumbnails/5.jpg)
1. Click Database2. write section as name of your database3. then click Create
![Page 6: 4th quarter 17 php & my sql registration page](https://reader034.fdocuments.us/reader034/viewer/2022051323/549b2b1cb479591a098b46d8/html5/thumbnails/6.jpg)
As you can see, the database named section is created. Now click the database section
![Page 7: 4th quarter 17 php & my sql registration page](https://reader034.fdocuments.us/reader034/viewer/2022051323/549b2b1cb479591a098b46d8/html5/thumbnails/7.jpg)
1. By clicking section name we automatically making a new table2. Input name as login3. Input number of columns as 34. Then click Go
![Page 8: 4th quarter 17 php & my sql registration page](https://reader034.fdocuments.us/reader034/viewer/2022051323/549b2b1cb479591a098b46d8/html5/thumbnails/8.jpg)
1. Input the following data:
2. Click Save
Note: That Auto-increment allows a unique number to be generated when a new record is inserted into a table.
Name Type Length/Values Index AI
id INT PRIMARY (Check)
username VARCHAR 35
password VARCHAR 35
![Page 9: 4th quarter 17 php & my sql registration page](https://reader034.fdocuments.us/reader034/viewer/2022051323/549b2b1cb479591a098b46d8/html5/thumbnails/9.jpg)
![Page 10: 4th quarter 17 php & my sql registration page](https://reader034.fdocuments.us/reader034/viewer/2022051323/549b2b1cb479591a098b46d8/html5/thumbnails/10.jpg)
now create a HTML & a PHP file to connect with the database which was created in MySQL
![Page 11: 4th quarter 17 php & my sql registration page](https://reader034.fdocuments.us/reader034/viewer/2022051323/549b2b1cb479591a098b46d8/html5/thumbnails/11.jpg)
Open Notepad++
![Page 12: 4th quarter 17 php & my sql registration page](https://reader034.fdocuments.us/reader034/viewer/2022051323/549b2b1cb479591a098b46d8/html5/thumbnails/12.jpg)
Create a HTML file save as register.html
Note: Save to folder xampp\htdocs\section
![Page 13: 4th quarter 17 php & my sql registration page](https://reader034.fdocuments.us/reader034/viewer/2022051323/549b2b1cb479591a098b46d8/html5/thumbnails/13.jpg)
Create another PHP file save as register.php
Note: Save to folder xampp\htdocs\section
![Page 14: 4th quarter 17 php & my sql registration page](https://reader034.fdocuments.us/reader034/viewer/2022051323/549b2b1cb479591a098b46d8/html5/thumbnails/14.jpg)
![Page 15: 4th quarter 17 php & my sql registration page](https://reader034.fdocuments.us/reader034/viewer/2022051323/549b2b1cb479591a098b46d8/html5/thumbnails/15.jpg)
![Page 16: 4th quarter 17 php & my sql registration page](https://reader034.fdocuments.us/reader034/viewer/2022051323/549b2b1cb479591a098b46d8/html5/thumbnails/16.jpg)
Test files:● Open the browser and type the URL
localhost/section/register.html
![Page 17: 4th quarter 17 php & my sql registration page](https://reader034.fdocuments.us/reader034/viewer/2022051323/549b2b1cb479591a098b46d8/html5/thumbnails/17.jpg)
Check MySQL about the data that has been registered.