Question: Using PHP/MySQL 3. You need to create a User Object (30%) a. Should have private properties for each column of the accounts table. b. Should
Using PHP/MySQL
3. You need to create a User Object (30%) a. Should have private properties for each column of the accounts table. b. Should have public getter and setter methods for each property. c. Should have a public method that return a string of HTML that displays all of the users information in a table row.
4. You need to create a UserDB Object (30%) a. Should have static methods that can be reused for querying the accounts table: i. Getting all users in accounts table, should be return as User Objects. ii. Inserting a new user iii. Updating a users password iv. Deleting a user b. Note we will only be using the first method in this assignment
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
