Question 1
a. Differentiate between Numeric Array and Associative Array. Provide example to implement both code in PHP.
b. How can you sort (ascending and descending) associative array according to its key?
Question 2
a. Discuss about client-side validation and server-side validation. How would you do validation to protect web page from malicious attack?
b. How can you describe the use of implode() and explode()?