Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.41K
function get_employees_by_hierarchy( $_employee_id = 0, $_dept = 0, $_org_array = array() ) { if ( $this->org_depth < $_depth ) { $this->org_depth = $_depth; } $_depth++; $_query = "SELECT * FROM employees WHERE "; if ( !$_employee_id ) { $_query .= "employee_manager_id is NULL OR employee_manager_id = 0"; } else { … |