Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: How to upload multiple images by append form and decode in codeigniter
Post: RE: How to upload multiple images by append form a...

HTML PHP
2,625 Views
2 Replies
08-02-2018, 05:43 AM
alamowais
    Thread: Database Connection Problem
Post: RE: Database Connection Problem

The problem is in username, i realize there's additional suffix. such as suffix_user I think the same errors in Core/Loader.php make sure the username, password and host are right.
4,114 Views
3 Replies
08-02-2018, 05:36 AM
alamowais
    Thread: how do I cache multiple databases (dynamic query)
Post: RE: how do I cache multiple databases (dynamic que...

You should provide the second database information in `application/config/database.php´ Normally, you would set the default database group, like so: $db['default']['hostname'] = "localhost"; $d...
8,950 Views
7 Replies
07-24-2018, 09:55 AM
alamowais
    Thread: can you help... in Pagination I modified View and Controller function
Post: RE: can you help... in Pagination I modified View ...

you can use the logic in controller class Welcome extends CI_Controller {    public function __construct() {        parent:: __construct();        $this->load->helper("url");        ...
9,727 Views
15 Replies
07-24-2018, 09:53 AM
alamowais
    Thread: mysql connection refused
Post: RE: mysql connection refused

You are working on localhost so your user must be root and password must empty $db['default']['hostname'] = 'localhost:8080'; $db['default']['username'] = 'root'; $db['default']['password'] = ''...
10,094 Views
5 Replies
07-24-2018, 09:50 AM
alamowais
    Thread: Load view from Controller issue
Post: RE: Load view from Controller issue

Put the action in form action="controller_name/function_name" and method="post" Example:
20,626 Views
23 Replies
06-22-2018, 08:35 AM
alamowais
    Thread: CodeIgniter problem after upload to hosting
Post: RE: CodeIgniter problem after upload to hosting

Base URL should be absolute, including the protocol: $config['base_url'] = "http://somesite.com/somedir/"; If using the URL helper, then base_url() will output the above string. Passing arguments...
4,941 Views
4 Replies
06-22-2018, 08:08 AM
alamowais
    Thread: redirect funtion in codeigniter
Post: RE: redirect funtion in codeigniter

Redirectin perform at some ID or Class so you can use the following trick $('#particularID').on('event like submit', function(e) { e.preventDefault(); e.stopPropagation(); // only neccess...
2,178 Views
1 Replies
06-22-2018, 08:00 AM
alamowais
    Thread: codeigniter 404 error on live server
Post: RE: codeigniter 404 error on live server

use the following in config.php $config['base_url'] = ''; $config['index_page'] = ''; $config['uri_protocol'] = 'AUTO'; $config['url_suffix'] = ''; in .htaccess (This should place out side ...
14,819 Views
4 Replies
06-22-2018, 07:43 AM
alamowais
    Thread: Upgrading CI to last version
Post: RE: Upgrading CI to last version

Replace all files and directories in your system/ directory. If you have any custom developed files in these directories, please make copies of them first. This config file has received some updates...
7,689 Views
8 Replies
06-21-2018, 08:21 AM
alamowais
    Thread: Ajax forbidden 403
Post: RE: Ajax forbidden 403

you can use vardump to show the path you have to define and use an alert to check the response of your function. you can cross check by using Flag response in the console of Browser though which you c...
2,088 Views
1 Replies
06-21-2018, 08:03 AM
alamowais
    Thread: [Snippet] Switch language with URL
Post: RE: [Snippet] Switch language with URL

Use the codeigniter language library with this class extension: URI Language Identifier. I also use this controller for switching the language class LangSwitch extends CI_Controller { public fun...
18,648 Views
7 Replies
05-21-2018, 01:56 AM
alamowais
    Thread: URL language strings
Post: RE: URL language strings

class LanguageLoader {    function initialize() {        $ci =& get_instance();        $ci->load->helper('language');        $ci->lang->load('information','english');    } you hav...
3,065 Views
2 Replies
05-21-2018, 01:33 AM
alamowais
    Thread: Cannot Pass More than two variable to view
Post: RE: Cannot Pass More than two variable to view

You have to call it as in array format.
8,803 Views
9 Replies
05-21-2018, 12:59 AM
alamowais
    Thread: Forms (show and process) on the same controller or on different ones?
Post: RE: Forms (show and process) on the same controlle...

You can always extend default controller with new functionality. Codeigniter's documentation is the good place to start.
7,994 Views
6 Replies
05-21-2018, 12:53 AM
alamowais

Theme © iAndrew 2016 - Forum software by © MyBB