Professional Documents
Culture Documents
Question 1
Question 2
Question 3
Question 4
a) What is PHP?(1)
b) State 5 advantages of using PHP web programming to develop a webpage or website? (5)
c) Using PHP insert the following details of a book into MYSQL database:
i. Book name
ii. Book author(s)
iii. Book description
iv. Book price
v. Book image url (9)
Question 5
a) Write a PHP function that checks whether a given number N is positive or negative.(10)
b) Describe and differentiate the following methods used in PHP, with aid of examples:
i) $_POST (4)
ii) $_GET (4)
c) State two rules to name a variable in PHP?(2)