Zoom
Figure 2. Output the error message
b. Add the information of this post to [Posts] table (in database, PostDate gets the current date)
and reload "List of posts:". (as Figure 3) (1.0 point)
When input data
After pressing button
Account: user1
Password: 123
Your post: I am happy
Account: user1
Password: 123
Your post: I am happy
POST
POST
List of posts:
List of posts:
Post
Account Post date
Post
Account Post date
Answer quiz for PTI
user!
2024-10-12
Answer quiz for PTI
userl
2024-10-12
Answer quiz for PT2
user2
2024-05-22
Answer quiz for PT2
user2
2024-05-22
Zip file and submit WS1 user3
2025-06-15
Zip file and submit WS1 user3
2025-06-15
Zip file and submit WS1 user4
2024-11-24
Zip file and submit WS1 user4
I am happy
2024-11-24
userl
2025-06-16
Figure 3. Output the result after inserting post successfully
Note: The selected account, inputed password and inputed post must be retained after pressing the
"POST" button. (apply to both a and b) (0.5 point)
+ 85%