Im new to OOP & PHP. After being fed-up of "Person's Class-Object examples", I want to know exactly how a function would return a set of rows from database to the presentation layer in a way that:
- Conditions and validations are managed by Business Layer's function (e.g. getEmployees($DepartmentID)).
- All HTM, CSS and Javascripts are looked after by Presentation layer.
Few lines of code would help me a lot!
Thanks.