st($id) { $where =array('comment_id'=>$id); $data['commentsreply'] = $this->Alldata->DetailData('comments_reply',$where); $this->load->view('admin/article/commentsreply_list',$data); } public function delete($id){ $where = array('comments_replay_id' => $id); $commentsreply = $this->Alldata->DetailData('comments_reply',$where); $res = $this->Alldata->DeleteData('comments_reply',$where); if($res){ $this->session->set_flashdata('success', '
Comments Reply Deleted Successfully.
'); }else{ $this->session->set_flashdata('success', '
Comments Reply Not Deleted.
'); } redirect(base_url().'articles/Articles/replylist/'.$commentsreply[0]['comment_id']); } public function sharearticle($id){ $data=array( 'articleid'=>$id, ); $res=$this->Alldata->insertData('sharearticles',$data); } } ?>

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /var/www/html/Smart-Solutions-CE-version/application/controllers/articles/Articles.php:1)

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /var/www/html/Smart-Solutions-CE-version/index.php
Line: 167
Function: require_once