File manager - Edit - /home/kubansmu/public_html/admin-frame/application/models/Common_model.php
Back
<?php class Common_model extends CI_Model { function Commonmodal() { parent:: __construct(); $this->load->database(); } function insert_blog_data($data){ $this->db->insert('blog_tb', $data); return true; } function blog_details_data(){ $query = $this->db->get('blog_tb'); //return $query->result(); if ( $query->num_rows() > 0 ) { return $query->result(); } } function blog_delete_data( $user_id){ $this->db->where('id', $user_id); $this->db->delete('blog_tb'); return true; } } ?>
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Generation time: 0 |
proxy
|
phpinfo
|
Settings