Question
Write a PHP program in a single webpage considering the following steps. (a) A block of codes to make a connection to a MySQL
Write a PHP program in a single webpage considering the following steps. (a) A block of codes to make a connection to a MySQL database named db_MY using PDO. (2 marks) (b) A block of codes in a form to key in a Malaysian IC Number. (3 marks) (c) (d) A block of codes to extract THREE (3) information from the entered Malaysian IC Number in Q2(b); date of birth, gender and place of birth. Categorize the place of birth into two; Malaysia or Overseas. (10 marks) A block of codes which includes an SQL statement to save the Malaysian IC Number, Birth Date, Gender, Birth Place in a table named MyData in db_MY. (5 marks)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get StartedRecommended Textbook for
Concepts of Database Management
Authors: Philip J. Pratt, Mary Z. Last
8th edition
1285427106, 978-1285427102
Students also viewed these Programming questions
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
View Answer in SolutionInn App