Beruflich Dokumente
Kultur Dokumente
Practical 4
Practical 4:
Q1.
(b)
Ind
ex
Nu
ll
Uniq
ue
Column Name
Data
Type
CHAR
VARCHA
R
CHAR
CHAR
StudentID
StudentName
Gender
Program
Siz
e
10
30
1
2
NOTE:
Gender field holds F (Female) or M (Male).
Program field holds IA (Information Systems
Engineering), IB (Business Information Systems) or IT
(Internet Technology).
(c)
Q2.
Number of
records
returned.
Academic Year 2016/2017
Practical 4
Display
Display program
full
code and program
gender.
name.
Figure 3: list-student.php (version 2)
Insert the
record to the
database.
Navigate back
to liststudent.php.
Page 2 of 5
Practical 4
IF EVERYTHING OK!
Display message to
indicate successful
insertion.
Clear all
fields.
NOTE:
We will cover updating and deletion at Practical 4. For now, please
manually update and delete the records by using NetBeans IDE (or other
tools) if needed.
Page 3 of 5
Practical 4
Page 4 of 5
Practical 4
Previously selected
sorted field still
retained.
Page 5 of 5