List User

ID!=”)
{
$getparent=$wpdb->get_results($wpdb->prepare(“select parent_id from wp_users where ID=”.$current_user->ID.””), ARRAY_A);
//print_r($getparent);
//echo ‘
parent=’.$getparent[0][‘parent_id’];

}
if (!(($current_user->ID==”)||(($current_user->ID!=1)&&($getparent[0][‘parent_id’]!=0))))
{

?>

ID);
while($usrs=mysql_fetch_array($getusrs))
{
$child_usr=get_userdata($usrs[‘ID’]);
?>


Name Click to Edit Click to Delete
first_name.’ ‘.$child_usr->last_name; ?> /delete-employee/?user_id=“>Delete User

Not Authorised!