Quantcast
Channel: CodeIgniter Forums - All Forums
Browsing all 14346 articles
Browse latest View live

Custom validation rules not called when input data is a multi-dimensional array

Hello, when using custom validation rules defined in MY_Form_validation on input fields with multi dimensional array data, the validation function is not called at all in my tests. I am sending the...

View Article


Just a note to the Doc writers - small fix to be made

Hi, I'm starting to read the tutorial in the right order, but when I got to the "Design and Architectural Goals" section, clicking "Next" took me to the "Server Requirements" page instead of the...

View Article


foreach statement is giving syntax error

<?php foreach ($records as $rows);?>       <?php echo $rows->firstname; ?> <?php endforeach; ?>                     When I put the above code in view i'm getting syntax error in...

View Article

Should we integrate Flysystem

FlySystem is a very flexible library that supports multiple filesystems (including Dropbox, S3, etc). When looking at our helpers, I started thinking that the file, directory, and path helpers should...

View Article

struggling with foreach using checkbox values

Please i'm stucked with this problem for an hour now(yeah i'm newbie in this). this is a piece of code in my controller PHP Code: $tags = $this->input->post('check_list');...

View Article


CI 3.1.0 multi delete and update, is a bug?

In a method I have two queries, the first performs a delete on two tables and everything works well. After I have a second query to update another table in this way: PHP Code: //...

View Article

Form validation & view within a one function

Alright this question may sound silly & sorry for that as i am a  newbie to CI.  Here's my problem, right now to validate & show a form am i using 2 functions in one of my controllers. for...

View Article

Cjax 5.9 for CI

Cjax is a small lightweight Ajax Framework with MVC principles that integrates into CI Framework and other MVC PHP Frameworks. And can work independently without a framework. ( see 50+ samples:...

View Article


Database Error

Hallo semuanya, Mohon bantuannya yah untuk para master Codeigniter, saya mengalami masalah dengan database dan tampilannya errornya seperti ini : A Database Error Occurred Error Number: 1062 Duplicate...

View Article


Image may be NSFW.
Clik here to view.

Something worng with Sessions

I am using the latest version of CI Version 3.1.0 I have set my sessions like so in config PHP Code: $config['sess_driver'] = 'files';$config['sess_cookie_name'] =...

View Article

Codeigniter 3.1.0 : Problem with logging.

Hello, I have recently installed the latest version of Codeigniter on my Mac with PHP 5.6.22. I'm facing a problem with the logging feature, in fact, when I change the threshold value from 0 to another...

View Article

Migration and multiple databases

Hi, I have an question. When I have more than one database, for example a master and a slave, how do I use migrations?

View Article

Email are not sending.

This is my code of sending email but it gives error "Multiline found" instead of sending email. case 5: // email for sending different report attachments //     ////// attachment header...

View Article


Image may be NSFW.
Clik here to view.

Avoid using other libraries in own library

Heya guys! I have another (probably stupid - I apologize in advance) question. After getting a lot of advice in one of my previous threads, I figured that I'd like to move most of my controllers'...

View Article

Custom MY_Log.php

I have just made a MY_Log.php so I can over ride log write function so that it can create log files for each of the log levels so it is easier to view. I would like to know if it is safe and will not...

View Article


[split] PDF of image problem?

The Problem!!!!!!!!!!! When I attach pdf file via email I get email with no correct pdf file (not opening) !!! please fix!

View Article

The session doesn't work on OS X

I have developed a project in CodeIgniter 2. It works well on Windows, Android and iOS. I can login and explore my account successfully in (Chrome, IE, OPERA, SAFARI and FIREFOX) on Windows(Safari,...

View Article


[OT] Nav breaks with method call in URL

Hello, CI version 3.1.0 I marked as OT because I'm not sure if CI is the problem here. I'm working on my first CI site (and have wanted to try out CI for years!): dev.sunshineartist.com If you notice,...

View Article

public function

Hello, I have a quick question regarding the function of writing "public" in the beginning of function. What is the difference between writing: models/Mpages.php PHP Code: public function login()...

View Article

I have a problem in godaddy hosting with session library

note: (windows is the hosting platform) when i load session library like this /application/autoload.php line 61 , codeigniter 3 PHP Code: $autoload['libraries'] =...

View Article
Browsing all 14346 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>