Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Cant connect to to DB using CI4
Post: RE: Cant connect to to DB using CI4

Okay ill try that. Thank you very much!
5,919 Views
12 Replies
03-17-2021, 09:50 PM
eldan88
    Thread: Cant connect to to DB using CI4
Post: RE: Cant connect to to DB using CI4

kenjis Wrote: (03-17-2021, 03:44 PM) -- eldan88 Wrote: (03-17-2021, 10:48 AM) --         'port' => 3309 -- It seems MySQL port is 3306. Is that your typo? -- Yes but its still not working with ph...
5,919 Views
12 Replies
03-17-2021, 04:26 PM
eldan88
    Thread: Cant connect to to DB using CI4
Post: RE: Cant connect to to DB using CI4

InsiteFX Wrote: (03-17-2021, 12:26 PM) -- Try testing it with MySQLi Test PHP Code: --
5,919 Views
12 Replies
03-17-2021, 01:33 PM
eldan88
    Thread: Cant connect to to DB using CI4
Post: RE: Cant connect to to DB using CI4

Hi, I have used the following config but its still not connecting ... public $default = [ 'DSN' => '', 'hostname' => '127.0.0.1', 'username' => 'root', ...
5,919 Views
12 Replies
03-17-2021, 10:48 AM
eldan88
    Thread: Cant connect to to DB using CI4
Post: Cant connect to to DB using CI4

Hi, I have been using CI3 for couple years. I am installing CI4 as a fresh installation. When i enter my DB credentials on my localhost I keep getting a error message Unable to connect to the data...
5,919 Views
12 Replies
03-16-2021, 04:19 PM
eldan88
    Thread: protect_identifiers() doesn't seem to be working
Post: protect_identifiers() doesn't seem to be working

Hi, I am trying to set the protect_identifiers to false for on of my queries. But it doesn't seem to be working, when I try. I have tried so many different ways and nothing seems to work. I have...
2,418 Views
1 Replies
07-10-2017, 05:31 PM
eldan88
    Thread: Why keep getting an undefined property on codeigniter?
Post: Why keep getting an undefined property on codeign...

Hi, I am trying to load a model in a library. This is how I am loading it, PHP Code: -- class Init{ private $CI; function __construct() { $this->CI = &get_instance...
2,209 Views
1 Replies
08-18-2016, 10:32 AM
eldan88
    Thread: How to add attributes to table rows?
Post: RE: How to add attributes to table rows?

Hey keulu. Thanks for the reply. Unfortunately that did not work.
3,262 Views
2 Replies
03-01-2016, 05:04 PM
eldan88
    Thread: How to add attributes to table rows?
Post: How to add attributes to table rows?

Hi, I been reading through the table class and see how I can add attributes to table cells, but I can't find any where else on where to add attributes on table rows. I know I can use the set_t...
3,262 Views
2 Replies
03-01-2016, 12:04 AM
eldan88
    Thread: Does CodeIgniter Automatically instantiate all classes in a file??
Post: RE: Does CodeIgniter Automatically instantiate all...

mwhitney Wrote: (07-06-2015, 09:38 AM) -- It is recommended that each file only contain one class, and that the name of the file and class match. However, if you ignore that and add any additional cl...
4,161 Views
3 Replies
07-18-2015, 05:20 PM
eldan88
    Thread: Does CodeIgniter Automatically instantiate all classes in a file??
Post: Does CodeIgniter Automatically instantiate all cla...

Hey Guys, I have a quick question. I am trying to build an abstract factory pattern. The files I am working with has two classes that shouldn't be instantiated. If i have a file names test.ph...
4,161 Views
3 Replies
07-06-2015, 08:03 AM
eldan88
    Thread: Does log_message() log the line number?
Post: RE: Does log_message() log the line number?

What would be the difference if I use php native exceptions class or codeigniter exceptions class?
7,580 Views
5 Replies
06-16-2015, 07:03 AM
eldan88
    Thread: Does log_message() log the line number?
Post: RE: Does log_message() log the line number?

Do you mean PHP exceptions class or does codeigniter has its own exception class?
7,580 Views
5 Replies
06-15-2015, 03:29 PM
eldan88
    Thread: Does log_message() log the line number?
Post: Does log_message() log the line number?

Hey Guys, I was just wondering. If I use the log_message function in CI 3 does it log the file name and the line number also? Thanks!
7,580 Views
5 Replies
06-07-2015, 04:31 PM
eldan88
    Thread: Should the view files also incude defined('BASEPATH') OR exit...
Post: RE: Should the view files also incude defined('BAS...

Okay got it! Will do . Thanks for your help!
5,040 Views
4 Replies
05-22-2015, 04:50 AM
eldan88
    Thread: Should the view files also incude defined('BASEPATH') OR exit...
Post: Should the view files also incude defined('BASEPAT...

Hey Guys, I was wondering if I should put PHP Code: -- defined('BASEPATH') OR exit('No direct script access allowed'); -- On my view files, along with my controller and model files Than...
5,040 Views
4 Replies
05-21-2015, 12:08 PM
eldan88
    Thread: Need help using valid_url rule reference
Post: RE: Need help using valid_url rule reference

Yes the required rule is working.I had to change the core function of valid_url... for some reason it wasn't working properly
8,395 Views
5 Replies
05-11-2015, 08:02 PM
eldan88
    Thread: Need help using valid_url rule reference
Post: Need help using valid_url rule reference

Hey Guys, I am trying to use the valid_url rule in CodeIgniter and it doesn't seem to be working. When I submit the form by just typing it "test" it doesn't display any kind of validation error....
8,395 Views
5 Replies
05-11-2015, 06:08 PM
eldan88
    Thread: How to return an empty string instead of null for $this->input->post()
Post: RE: How to return an empty string instead of null ...

Nevermind guys! I just figured to set the mysql column to NULL
5,190 Views
0 Replies
03-18-2015, 09:44 AM
eldan88
    Thread: How to return an empty string instead of null for $this->input->post()
Post: How to return an empty string instead of null for ...

Hey Guys, As mentioned in the title, I want to return an empty string because mysql won't let me insert value as NULL. I tried making the following changes from this PHP Code: -- public function p...
5,190 Views
0 Replies
03-18-2015, 08:55 AM
eldan88

Theme © iAndrew 2016 - Forum software by © MyBB