Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Concepts of Database Management

Authors: Philip J. Pratt, Mary Z. Last

8th edition

1285427106, 978-1285427102

More Books

Students also viewed these Programming questions

Question

What is database design?

Answered: 1 week ago

Question

What is multiplicity?

Answered: 1 week ago

Question

11. Describe the normal distribution.

Answered: 1 week ago