No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
My yellow VW Beetle is 10 years old. It does very well out here in the desert. |
|
Re:
Hello Friends, Am actually trying to get a Foreign key which is a Primary key in Diagnosis table Controller: <?php class AppTreatment extends CI_Controller { function AppTreatment() { parent::__construct(); $this->view_data['base_url'] = base_url(); $this->load->model('Apptreatment_model'); $this->load->model('Patient_model'); if(!$this->session->userdata('is_logged_in') ){ $this->session->set_flashdata('login_error', TRUE); redirect(base_url() . 'index.php/homepage'); } } function index() { $data['patient']=$this->Patient_model->getAllpatients(); $data['AppTreatment']=$this->Apptreatment_model->findAll(); foreach($data['AppTreatment'] as … |