Welcome Guest, Not a member yet? Register   Sign In
Edit my application previously selected item should be viewed?
#1

(This post was last modified: 09-09-2018, 11:51 PM by kvanaraj.)

I want to my application previously selected items to be displayed accordingly.
How to implement this .
Controller
********
Code:
$data['getcert'] = $this->User_Model->getcert();
Model
*****
Code:
$regno = $this->session->userdata('username');
  $this->db->select('*');
  $this->db->from('certificate_det');
  $this->db->where('appdet.regno',$regno);
  $this->db->join('appdet', 'appdet.certid = certificate_det.certificate_id', 'left');
  $query = $this->db->get();
  return $query->result_array();
  echo $query;  
    }

View
*****
Code:
value="<?php echo (!isset($posted['email'])) ? '' : $posted['email'] ?>"
Is this way to fetch the details

Attached Files Thumbnail(s)
   
Reply


Messages In This Thread
Edit my application previously selected item should be viewed? - by kvanaraj - 09-09-2018, 11:49 PM



Theme © iAndrew 2016 - Forum software by © MyBB