question archive Implement the following in php Define a class STUDENT with the following specifications: Private members of the class STUDENT are STUDENTID integer type NAME 20 characters EMAIL Alphanumeric ADD() A private function which adds the record of the student in a global variable
Subject:Computer SciencePrice: Bought3
Implement the following in php
Define a class STUDENT with the following specifications:
Private members of the class STUDENT are
STUDENTID integer type
NAME 20 characters
EMAIL Alphanumeric
ADD() A private function which adds the record of the student in a global variable.
Public members of the class Students are
INPUT(params) A Input function which sets the private member of the class and by calling . ADD at the end will also add the data into global array.
Display() A function which display the record of all added students stored . in a tabular form. (The table must contain more than 1 record).
Note: You need to input data from the user by using any super global ($_GET / $_POST) and show the output on the browser.