load->model('commonsql_model'); $tableName="ledger"; $whereData=array('status'=>1,'type'=>$values);$order="ledger_id"; $seller=$CI->commonsql_model->selectTable($tableName, $whereData,'',$order); ?>
num_rows()>0) { $i=1; foreach($seller->result() as $b) { $id=$b->ledger_id; $cname=$b->customer_name; $name=$b->company; $contact=$b->contact_number; $email=$b->email; $address=$b->address; $status=$b->status; ?>
S NO Contact Number Email Address ACTION

No record found