# }
# else
# {
# echo "a";
# }
/*
<a target="_blank" id="PDFDATA" href="<?php echo base_url('Uploads/Chapter/' .$rowA->upload_data); ?>#toolbar=0" style="color:blue">Read Chapter</a>
<iframe frameborder="0" scrolling="no" src="<?php echo base_url('Uploads/Chapter/' .$rowA->upload_data); ?>#toolbar=0" width="500" height=500>
</iframe>
<a target="_blank" id="save" href="<?php echo base_url('Uploads/Chapter/' .$rowA->upload_data); ?>#toolbar=0" style="color:blue">Read Chapter</a>
</div>
<div id="MYPDF">
<embed id="" src="<?php echo base_url('Uploads/Chapter/' .$rowA->upload_data); ?>#toolbar=0" width="500" height="375">
</div>
*/
/* Ok function Show_Course_model($id) { $data = array( 'is_hide' => 0, ); $this->db->where('course_id', $id); $this->db->update('course_type', $data); return array('status' => 'success', 'message' => ''); } */
# return $query->result_array();
// return $query->result_array(); /*
// return $query->result_array(); $this->db->select('*'); $this->db->from('user_type'); $this->db->join('user', 'user_type.user_type_id = user.user_type_id'); $this->db->where('user_id', $userID ); $query = $this->db->get(); return $result=$query->row(); print_r($this->db->last_query()); */
#return $result=$query->row();
# return $result=$query->row(); # return $query->result_array();
# return $result=$query->row();
#return $result=$query->row();
// return $result=$query->row();
// return $result=$query->row();
#return $result=$query->row();
// return $query->result(); // return $query->result_array(); // $data = $query->result(); // $data = $query->result_array(); // print_r($this->db->last_query());
---------------------------------------
//if (in_array($errl->r_id, $rights1)).
<?php if(isset($Permission)) { echo $row_BB->rights_id; } { echo "checked='checked'"; } ?>
<?php // if(isset($Permission)){ if (in_array($Permission->rights_id )) { echo "checked='checked'"; } } ?>
checked
if(isset($Permission)){foreach($Permission as $per_ids) {echo $per_ids->rights_id;}}
-----------------------------------------------------------
// 'role' => explode("-" , $postData['role']),
# 'password' => md5($password),
// $vegetables = explode(", ", $text);
// $dname=explode("-",$_POST['dname']);
/*
$data="http://www.youtube.com/watch?v=ZR0iBvof3MA";
$splittedstring=explode("?v",$data);
echo "Video ID is ".$splittedstring[1];
*/
----------------------------------------------------------
/* Ok function Show_Course_model($id) { $data = array( 'is_hide' => 0, ); $this->db->where('course_id', $id); $this->db->update('course_type', $data); return array('status' => 'success', 'message' => ''); } */
# return $query->result_array();
// return $query->result_array(); /*
// return $query->result_array(); $this->db->select('*'); $this->db->from('user_type'); $this->db->join('user', 'user_type.user_type_id = user.user_type_id'); $this->db->where('user_id', $userID ); $query = $this->db->get(); return $result=$query->row(); print_r($this->db->last_query()); */
#return $result=$query->row();
# return $result=$query->row(); # return $query->result_array();
# return $result=$query->row();
#return $result=$query->row();
// return $result=$query->row();
// return $result=$query->row();
#return $result=$query->row();
// return $query->result(); // return $query->result_array(); // $data = $query->result(); // $data = $query->result_array(); // print_r($this->db->last_query());
---------------------------------------
//if (in_array($errl->r_id, $rights1)).
<?php if(isset($Permission)) { echo $row_BB->rights_id; } { echo "checked='checked'"; } ?>
<?php // if(isset($Permission)){ if (in_array($Permission->rights_id )) { echo "checked='checked'"; } } ?>
checked
if(isset($Permission)){foreach($Permission as $per_ids) {echo $per_ids->rights_id;}}
-----------------------------------------------------------
// 'role' => explode("-" , $postData['role']),
# 'password' => md5($password),
// $vegetables = explode(", ", $text);
// $dname=explode("-",$_POST['dname']);
/*
$data="http://www.youtube.com/watch?v=ZR0iBvof3MA";
$splittedstring=explode("?v",$data);
echo "Video ID is ".$splittedstring[1];
*/
----------------------------------------------------------
Comments
Post a Comment