Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the astra domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/sqrtyhjzaqx471/public_html/wp-includes/functions.php on line 6121

Warning: Cannot modify header information - headers already sent by (output started at /home/sqrtyhjzaqx471/public_html/wp-includes/functions.php:6121) in /home/sqrtyhjzaqx471/public_html/wp-content/plugins/bbpress/includes/replies/functions.php on line 2160

Warning: Cannot modify header information - headers already sent by (output started at /home/sqrtyhjzaqx471/public_html/wp-includes/functions.php:6121) in /home/sqrtyhjzaqx471/public_html/wp-content/plugins/bbpress/includes/replies/functions.php on line 2161
» All Posts https://softechquery.com/categories/codeigniter/feed Sun, 01 Jun 2025 06:25:19 +0000 https://bbpress.org/?v=2.6.11 en-US https://softechquery.com/discussion/how-to-upload-webp-file-in-codeigniter/#post-161 <![CDATA[Reply To: How to upload .webp file in CodeIgniter]]> https://softechquery.com/discussion/how-to-upload-webp-file-in-codeigniter/#post-161 Thu, 03 Oct 2024 12:20:48 +0000 avneesh Add webp MIME Type in config file: ./application/config/mimes.php.
'webp' => array('image/webp'),

And in your upload config “allowed_types” add “webp” :
$config['allowed_types'] = 'gif|jpg|jpeg|png|webp';

]]>
https://softechquery.com/discussion/how-to-upload-webp-file-in-codeigniter/#post-160 <![CDATA[How to upload .webp file in CodeIgniter]]> https://softechquery.com/discussion/how-to-upload-webp-file-in-codeigniter/#post-160 Thu, 03 Oct 2024 12:17:49 +0000 avi I want to upload webp images using PHP CI Framework, Can anyone help how to upload .webp instead of jpg?

]]>
https://softechquery.com/discussion/how-to-send-email-in-ci-3/#post-159 <![CDATA[how to send email in ci-3]]> https://softechquery.com/discussion/how-to-send-email-in-ci-3/#post-159 Thu, 03 Oct 2024 12:17:01 +0000 abhijeet I want to send email in ci-3 with some message to user. How do this

]]>
https://softechquery.com/discussion/how-to-set-default-routes-in-under-folder-file/#post-158 <![CDATA[how to set default routes in under folder file]]> https://softechquery.com/discussion/how-to-set-default-routes-in-under-folder-file/#post-158 Thu, 03 Oct 2024 12:16:22 +0000 abhijeet I want to set default routes in ci 3 controller which is under the a folder

]]>
https://softechquery.com/discussion/send-to-model-on-update_city-function-get-error-city-is-already-exist/#post-157 <![CDATA[send to model on update_city function get error city is already exist]]> https://softechquery.com/discussion/send-to-model-on-update_city-function-get-error-city-is-already-exist/#post-157 Thu, 03 Oct 2024 12:15:45 +0000 abhijeet I am do this then solve error have any other way

public function insert_city()
{
$city_id = $this->input->post('city_id');

        $this->load->library('form_validation');
        $this->form_validation->set_rules('city', 'City', 'required|is_unique[city_table.city]', array('is_unique' => 'City already exist.'));
        if ($this->form_validation->run()) {
            if ($this->input->post()) {
                $state_id = $this->input->post('state_id');
                $city = $this->input->post('city');
                $city_meta_title = $this->input->post('city_meta_title');
                $city_meta_description = $this->input->post('city_meta_description');
            }
            $data = array('state_id' => $state_id, 'city' => $city,'city_meta_title'=>$city_meta_title,'city_meta_description'=>$city_meta_description);
            $this->load->model('Action_Model');
                $this->Action_Model->insert_city($data);
        }
        else {
               $this->load->view('admin/add-city');
           }

             if($city_id){
                if ($this->input->post()) {
                    $state_id = $this->input->post('state_id');
                    $city = $this->input->post('city');
                    $city_meta_title = $this->input->post('city_meta_title');
                    $city_meta_description = $this->input->post('city_meta_description');
                }

            $data = array('state_id' => $state_id, 'city' => $city,'city_meta_title'=>$city_meta_title,'city_meta_description'=>$city_meta_description);

        $this->load->model('Action_Model');
        $this->Action_Model->update_city($data, $city_id);
    }
]]>
https://softechquery.com/discussion/how-can-i-send-to-image-in-upload-file-with-write-one-time-upload-file-code/#post-156 <![CDATA[how can i send to image in upload file with write one time upload file code]]> https://softechquery.com/discussion/how-can-i-send-to-image-in-upload-file-with-write-one-time-upload-file-code/#post-156 Thu, 03 Oct 2024 12:14:30 +0000 abhijeet I want to send multiple image send to uploads file with write only single code for uploads file
and upload selected image to uploads file

]]>
https://softechquery.com/discussion/include-file-one-folder-to-other-folder/#post-155 <![CDATA[Include file one folder to other folder]]> https://softechquery.com/discussion/include-file-one-folder-to-other-folder/#post-155 Thu, 03 Oct 2024 12:14:08 +0000 abhijeet I have two folder one is includes folder in which two files header and footer .And other folder is
service folder and in this folder have many sub services file .I want to include header and footer in sub services file, how to link it

]]>
https://softechquery.com/discussion/how-to-send-email-in-a-table-format-in-php/#post-154 <![CDATA[Reply To: How to send email in a table format in php]]> https://softechquery.com/discussion/how-to-send-email-in-a-table-format-in-php/#post-154 Thu, 03 Oct 2024 12:13:15 +0000 avi $msg variable is used here to store the content of the mail, you can store table structure in $msg and pass it in mail() function.

email-content.txt

]]>
https://softechquery.com/discussion/how-to-send-email-in-a-table-format-in-php/#post-153 <![CDATA[How to send email in a table format in php]]> https://softechquery.com/discussion/how-to-send-email-in-a-table-format-in-php/#post-153 Thu, 03 Oct 2024 12:11:18 +0000 avi sending email from client side but the data is sent in a single line sequence how to make it more structured?

]]>