Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Message: reset() expects parameter 1 to be array, null given
Post: RE: Message: reset() expects parameter 1 to be arr...

iridion2015 Wrote: (06-18-2017, 03:36 PM) -- Okay, it's NULL. I don't understand it, even though $array_container is already declared as an array. Anyone would, like to help? Thanks in advance...
8,004 Views
5 Replies
06-18-2017, 07:32 PM
pdthinh
    Thread: non-object Error
Post: RE: non-object Error

UygarDemirKoç Wrote: (03-12-2017, 01:59 AM) -- Hi, I'm new on the forum and I don't know I'm writing in correct place :) I passed Ubuntu yesterday and my Codeigniter projects give a lot of errors. ...
6,939 Views
7 Replies
03-12-2017, 09:19 AM
pdthinh
    Thread: max_size 0 no limit not working
Post: RE: php.ini codeigniter

wolfgang1983 Wrote: (02-14-2017, 07:58 PM) -- I get this error when upload image The uploaded file exceeds the maximum allowed size in your PHP configuration file. How can I in crease can some ...
10,231 Views
3 Replies
02-14-2017, 11:48 PM
pdthinh
    Thread: Can you check my pagination?[SOLVED]
Post: RE: Can you check my pagination?

PHP Code: -- // $config['query_string_segment'] = 'paginas'; // $config['page_query_string'] = TRUE; -- If your controller is news and method is blog(), so the the route should like: PHP Code: -...
12,774 Views
12 Replies
02-10-2017, 11:14 PM
pdthinh
    Thread: Can you check my pagination?[SOLVED]
Post: RE: Can you check my pagination?

kirasiris Wrote: (02-10-2017, 12:50 PM) -- Ok, I did that as well, but it now shows just one entry, and apparently the same id. Basically it just showing one item rather than one different per page -...
12,774 Views
12 Replies
02-10-2017, 10:01 PM
pdthinh
    Thread: Should I be doing this for form validation?
Post: RE: Should I be doing this for form validation?

I think there's no problem with your approach. For the second question, validation rules should be an array of array so you should try: PHP Code: -- public function update_description()  {   ...
3,759 Views
1 Replies
02-05-2017, 11:07 AM
pdthinh
    Thread: Settiing error delimiters in config/form_validation.php
Post: RE: Settiing error delimiters in config/form_valid...

You could try this: PHP Code: -- $config = array(        'error_prefix' => '',    'error_suffix' => '',    'membership_form' => array(        array(            'field' => 'member_name'...
5,082 Views
5 Replies
01-25-2017, 06:31 AM
pdthinh
    Thread: How to fix function to return multi array ci 3
Post: RE: How to fix function to return multi array ci 3

You should init $ans array before the first (outer) foreach PHP Code: -- public function getexam_result($bode)    {        $ans=array();        foreach($bode as $v)        {          $th...
2,636 Views
2 Replies
01-21-2017, 05:24 AM
pdthinh
    Thread: [Solved] Redirect Issue Codeigniter
Post: RE: Redirect Issue Codeigniter

wolfgang1983 Wrote: (12-17-2016, 03:12 AM) -- pdthinh Wrote: (12-17-2016, 03:05 AM) -- PHP Code: -- redirect("forum/$forum_id"); -- -- It worked like PHP Code: -- redirect('forum/' . $f...
4,705 Views
3 Replies
12-17-2016, 03:30 AM
pdthinh
    Thread: [Solved] Redirect Issue Codeigniter
Post: RE: Redirect Issue Codeigniter

PHP Code: -- redirect("forum/$forum_id"); --
4,705 Views
3 Replies
12-17-2016, 03:05 AM
pdthinh
    Thread: Hellp CSS and JS
Post: RE: Hellp CSS and JS

Change this line Code: --
4,383 Views
2 Replies
11-26-2016, 05:52 PM
pdthinh
    Thread: [Solved] Codeigniter: Load Library in a Core Class
Post: RE: Codeigniter: Load Library in a Core Class

SirGecco Wrote: (10-31-2016, 02:40 PM) -- The question: Is it possible to load and utilize a Library in a Core Class? Merci! -- You could use require_once('path/to/Custom_library.php')
36,736 Views
12 Replies
11-01-2016, 01:48 AM
pdthinh
    Thread: Array To String error / undefined $query
Post: RE: Array To String error / undefined $query

Quote: -- Controller Code: --  public function existing() // Recieved, Unsolved  {      $this->load->database();      $this->load->model('Docs_model');      $this->load->library('table...
20,611 Views
16 Replies
08-18-2016, 09:36 PM
pdthinh
    Thread: Array To String error / undefined $query
Post: RE: Array To String error / undefined $query

CodinMoldovanu Wrote: (08-16-2016, 12:52 PM) -- Even more errors! Code: -- A PHP Error was encountered Severity: Runtime Notice Message: Declaration of Admin_Controller::render() should be c...
20,611 Views
16 Replies
08-16-2016, 09:52 PM
pdthinh
    Thread: Array To String error / undefined $query
Post: RE: Array To String error / undefined $query

Please show full content of docs/existing_view.php
20,611 Views
16 Replies
08-16-2016, 12:02 AM
pdthinh
    Thread: How to display record based on their ID?
Post: RE: How to display record based on their ID?

theromie Wrote: (07-18-2016, 02:27 AM) -- projack89 Wrote: (07-18-2016, 01:20 AM) -- In your view.php            echo $list->field_name; -- I did same but getting error  Message: Invalid argume...
5,292 Views
4 Replies
07-18-2016, 09:53 AM
pdthinh
    Thread: Is my site being attacked?
Post: RE: Is my site being attacked?

TuanTa Wrote: (07-13-2016, 01:02 AM) -- marksman Wrote: (07-12-2016, 10:19 PM) -- Looks like you have changed your session directory to your public_html -- Hi marksman,     Actually, I don't have...
13,461 Views
13 Replies
07-13-2016, 02:26 AM
pdthinh
    Thread: Is my site being attacked?
Post: RE: Is my site being attacked?

You can't send any content before header sent. In your giohang/add method you use echo(), print_r(), ... so they will prevent redirect() to work. About $config['sess_save_path'] the manual said: Co...
13,461 Views
13 Replies
07-12-2016, 08:09 PM
pdthinh
    Thread: how to reference file one folder up and down?
Post: RE: how to reference file one folder up and down?

mrad Wrote: (07-04-2016, 02:47 PM) -- I am trying to reference a file one folder up and then down a few folders: PHP Code: -- include "../common/KoolControls/KoolGrid/koolgrid.php"; -- But ...
4,626 Views
3 Replies
07-04-2016, 09:07 PM
pdthinh
    Thread: A PHP Error was encountered Severity: Notice Message: Undefined variable: company_n
Post: RE: A PHP Error was encountered Severity: Notice ...

controller PHP Code: -- $vendor=$this->vendormodel->vendor_details($login_email); $this->load->view('vendor_dashboard', array('vendor' => $vendor)); -- view PHP Code: -- --
22,442 Views
3 Replies
07-03-2016, 06:32 PM
pdthinh

Theme © iAndrew 2016 - Forum software by © MyBB