Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~8K People Reached
Favorite Tags
Member Avatar for kanebt

The title pretty much says it all. I cant find an option in my control panel? Thanks [fake signature removed]

Member Avatar for Олег_9
3
3K
Member Avatar for ashalatha

Controller: function addblogs() { $this->load->library('form_validation'); $this->form_validation->set_error_delimiters('<br /><span class="error"> ','</span>'); $this->form_validation->set_rules('blog_title','Blog Title'); $this->form_validation->set_rules('description','Blog Description'); $this->form_validation->set_rules('category_id','Category Name','required'); $this->form_validation->set_rules('position','Position'); if($this->form_validation->run()== FALSE) { $data['categorylist']=$this->blogs_model->categories_dropdown(); $data['mainpage']='blogs'; $data['mode']='add'; $this->load->view('templates/template',$data); } else { $this -> blogs_model -> insertblogs(); $this->flash->success('<h2>blogs Added Successfully!</h2>'); redirect('blogs'); } } Model: function categories_dropdown() { $this->table = 'categories'; $this->where('status',1); $categorylist=$this->dropdown('category_id','category_name'); return $categorylist; } function …

0
223
Member Avatar for ashalatha

Hi Can any one help me how to to get the records in between the dates by using from and to dates using php,mysql,ajax

Member Avatar for jstfsklh211
0
176
Member Avatar for ashalatha

How to delete Data from multiple tables. For example Iam having category id in one data base table .in another data base table iam having this id if i delete category id it should display a message as first delete in that table if the id is there in that …

Member Avatar for Isaac_4
0
524
Member Avatar for ashalatha

how can i delete a record from multiple tables Iam having category id in category table,and in orders table.If iam deleting in that id in category table at a time it should delete in orders table also how can i do this can anyone help me. Thanks in advance

Member Avatar for vishalkr
0
224
Member Avatar for ashalatha

Controller: $data['error'] = ''; //initialize image upload error array to empty $config['upload_path'] = './uploads/'; $config['allowed_types'] = 'csv'; $config['max_size'] = '10000'; $this->load->library('upload', $config); // If upload failed, display error if (!$this->upload->do_upload()) { $data['error'] = $this->upload->display_errors(); $data['mainpage']='category'; $data['mode']='addcsv'; $this->load->view('includes/mainpage',$data); //Category Id Category Name Sub-category Id Sub-category Name } else { $file_data = …

Member Avatar for veedeoo
0
278
Member Avatar for ashalatha

Actually iam having headers in two rows for some columns Example:Iam having start time it is divided into hours and minutes In first row it is having starttime below the start time iam having hours and minutes in the next row in different columns while bulkuploading this hours and minutes …

Member Avatar for ashalatha
0
324
Member Avatar for ashalatha

This is my csv importinf file how iam inserting data into database. function csvimport() { $data['error'] = ''; //initialize image upload error array to empty $config['upload_path'] = './uploads/'; $config['allowed_types'] = 'csv'; $config['max_size'] = '1000'; $this->load->library('upload', $config); // If upload failed, display error if (!$this->upload->do_upload()) { $data['error'] = $this->upload->display_errors(); } else …

Member Avatar for ashalatha
0
3K