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

Uploading file

Cpages/addslideshows.php PHP Code: public function addslideshows() {                    $data['images'] = $this->Mpages->call_gallery();                $this->load->view('addslideshows',...

View Article


How to centralize API architecture develop in ci

whats  benifit of centralize api sytem for web and app  in ci

View Article


Add to Cart Button Logs Me Out

In my case I use the greek characters and when I try to add an item to the cart I get logged out. When I try to add another item with latin characters I don't get logged out, but everything works...

View Article

Setting Error

Hello, I am facing this error message.  Can anyone help me fix this error? Setting has been successfully updated! A PHP Error was encountered Severity: Notice Message: Undefined variable: setting...

View Article

Call to undefined function base_url()

I get this error when I try to load base_url funcion. The problem is that I've already added base_url to autoload file but the issue still: Code: $autoload['helper'] = array('url'); views/home.php file...

View Article


[split] Model bindable template?

Creating a form with repetitive names is a pain: PHP Code: echo form_open('user/update'),  form_input('full_name', set_value('full_name', $user->full_name), array('id' => 'full-name', 'class'...

View Article

Image may be NSFW.
Clik here to view.

Upload multiple image and display

Hi Friends, I want to upload multiple image and display the image when i submit the button along with their path. And I didn't want to store the path in the database. The thing is I just want to get...

View Article

use CASCADING DELETE with SQLITE

Hi, im using CodeIgniter with a SQLite-Database. I have many tables which have many relations to each other. They are defined with some FOREIGN KEYS and CASCADING Delete and so on. However, I created...

View Article


Good Conventions

I noticed system core files contain very good implementations such as single quotes for non-interpolated strings, strict return and parameter datatypes, strict equality and yoda conditions, good...

View Article


Query builder escaping periods when using TableName.Column

Hey! In my query, I'm using the "TableName.ColumnName" syntax to designate a specific column. Unfortunately, when using the query builder, the period in those parts is getting escaped, forming the...

View Article

Immediate CodeIgniter project

Hello! I have an immediate project that I need help on, with the potential for more projects down the road. What was supposed to be a WordPress (my specialty) cleanup, turned into quite a bit more....

View Article

Using Flashdata

I am still unsure about using the codeigniter flashdata because I do not want it to create lots of files when the flashdata gets created. How long does the files stay on there and or in the database?...

View Article

Image may be NSFW.
Clik here to view.

CI Session cookie expiry / cookie_lifetime

I know, I know sessions again... I have been pulling my hair out over a session bug I have been having for ages but could not make it happen on demand and it seems random. However I think I may have...

View Article


Blueimp's AJAX Chat + CodeIgniter integration

I have a problem with integration Blueimp's AJAX Chat in my project based on CI framework. In root durectory of my project, I made new folder "chat" and upload inside chat files. After I edit chat...

View Article

LDAP Windows Authentication

Hi Guys i am beginner in Codeigniter How to Create a login with LDAP Authentication? any help please..

View Article


Models as Entities using PHP Traits

There are a couple of debates in some companies I've worked for about models being entities or not. In CI3, it usually ended something with 2 files: models/User_model.php and models/entities/User.php....

View Article

form helper form_open() oddness

Hello, I'm a newb.. going through the tutorial. V. 3.0.6 I believe I've followed the tutorial correctly (copy / paste), but I'm getting a weird action with: Code: <?php echo...

View Article


generate routes

easy generate routes concept: https://github.com/yonineitor/routes-ci easy to use PHP Code: /** * @route::arguments */class Example3 extends CI_Controller{  /** * @route::numeric-values/(:num)/(:num)...

View Article

Custom validation rules with array input data

Hello, when using custom validation rules defined in MY_Form_validation on input fields with array data, the data is passed as a string to the validation function. PHP Code: <?phpdefined('BASEPATH')...

View Article

Social website, coder needed.

Hi, so I am in the process of making kinda a social site. I have come to the conclusion that I have tried to do something that is too big for my current skill level. I am therefore searching for a...

View Article
Browsing all 14114 articles
Browse latest View live


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