"; } if($hasWriteAccess ) { $edit_link=""; } if($hasExecuteAccess ) { $delete_link=""; } $space="   "; $links =$space.$view_link.$space.$edit_link.$space.$delete_link; $data['rows'][] = array( 'id' => $row_issuepoint['point_id'], 'cell' => array($links, $count++ ,$row_issuepoint['type_name'],$row_issuepoint['issue_point_name'], $row_issuepoint['location'],$row_issuepoint['code']) ); } echo json_encode($data); ?>