LAB4 Exercise (Bondoc)

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

Ramon Magsaysay Memorial College

LABORATORY EXERCISE
nd
2 SEMESTER: AY: 2021 – 2022
Name: Rheny Jay Q. Bondoc Schedule: __________________________ Score: ________
Subject: IPT101 Int. Prog. & Tech. 1 Instructor: _________________________ Date: _________

LABORATORY EXERCISE 4
Registration Form (Javascript, PHP, and MySQL)

Learning Objectives
 To create a Registration form using PHP, HTML, CSS, and MySQL.
 To understand the integration isn dynamic websites.

Prerequisite student experiences and knowledge


Students should know how PHP, HTML, CSS, and MySQL is intended. This lesson is
written for those who see the scripting language and the integration of the programming
languages.

Background
Scripting Language is a type of PL that can use a text editor to create syntax, such as
notepad. Their differences are their architecture and usage because it is typically used for
web development.

Materials/Resources
 PC/Internet
 Pen
 Notepad++ (https://notepad-plus-plus.org/downloads/v8.3.3/)
 Xampp(https://notepad-plus-plus.org/downloads/v8.3.3/)
 Web Browser (Internet Explorer, Mozilla, Google Chrome, Etc.)
 Word-processing program

Laboratory Activity

Instructions: Perform the following steps.


1. Start the program Xampp and start the apache and MySQL to have a localhost server
and database server on your computer
2. Find the Htdocs of your installed Xampp, then choose the previous directory for
exercise 3
3. Then open your notepad++
4. Add a module that the user can register before it can log in
 It must have validation of email format
 It can check if the username already exists
 The registration form must have a field entry
 Base on the existing exercise, just four fields in the table
 Add email, gender, birth date, age, address
 Address (street, baranggay, city, country, postalcode)
Ramon Magsaysay Memorial College
LABORATORY EXERCISE
nd
2 SEMESTER: AY: 2021 – 2022
Name: Rheny Jay Q. Bondoc Schedule: __________________________ Score: ________
Subject: IPT101 Int. Prog. & Tech. 1 Instructor: _________________________ Date: _________

5. Build a program/syntax
6. Display the result.
7. Print the result on the page provided.

QUESTIONS
1. What is the solution you made to build the specific problem?

Create and find codes to integrate to the database. While in the database I created the
fields related to the instructions.

2. How is the integration implemented in the code?

Using the php codes it will integrate to the database with the fields inside of it.

3. The base of the pseudocode that you build illustrates a flowchart of the given codes?

Yes, it shows the sequence of the existing codes start from the name to the password.
Ramon Magsaysay Memorial College
LABORATORY EXERCISE
nd
2 SEMESTER: AY: 2021 – 2022
Name: Rheny Jay Q. Bondoc Schedule: __________________________ Score: ________
Subject: IPT101 Int. Prog. & Tech. 1 Instructor: _________________________ Date: _________

Output / Results
Ramon Magsaysay Memorial College
LABORATORY EXERCISE
nd
2 SEMESTER: AY: 2021 – 2022
Name: Rheny Jay Q. Bondoc Schedule: __________________________ Score: ________
Subject: IPT101 Int. Prog. & Tech. 1 Instructor: _________________________ Date: _________

Conclusion

With the use of php codes I can create a registration form and with the help of the database
I can easily input the data from the registration form and stored it in the database.

You might also like