Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $CI=&get_instance();
- // $total_next_records=$total_next_records+$page;
- $cr=$CI->db->query("SELECT res_parent FROM tbl_data.resumes limit $page, $total_next_records");
- $data=$cr->result_array();
- $res_parent = array_column($data, 'res_parent');
- echo ("SELECT res_parent FROM tbl_data.resumes limit $page, $total_next_records")."<br />";
- foreach($data as $key => $item){
- echo $item['res_parent']."<br />";
- //sendNotification($item['res_id'], "New Vacancy Post Added.");
- }
- $page=$page+$total_next_records;
- if(sizeof($data)>1)
- send_notification_in_loop($page,$total_next_records);
Add Comment
Please, Sign In to add comment