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

Accessing an Independent Application from Withing a CodeIgniter Application.

I built a small database resource for a client using vanilla PHP several years ago. I have just completed a custom CRM for the client using CodeIgniter 3. The client wants to be able to access the...

View Article


Image may be NSFW.
Clik here to view.

why all queries fire twice?

  error.png (Size: 33.98 KB / Downloads: 30) why all queries fire twice? i am using jamie rumbelow's MY_model as base model. see the attachment  this is my controllers index method: PHP Code: public...

View Article


In Codeigniter, Twig project to output ALL errors

Hello, In Codeigniter 3.1.0-dev, Twig 1.24.0 project if in twig code there is syntax error or not found included file the flow is stopped with error visible. But on some errors , like calling of...

View Article

dynamic input fields validation in codeigniter

I'm working on a web application that includes a feature to add information of vehicles of users, if a user have more than one vehicle he/she can add those details by "add another" like option. i have...

View Article

Create database on first Migration

Hello, everyone. Is there a way to create the database by runing a migration in the application startup? In this case I want to create the main application's database, not a secondary one, that is, my...

View Article


Set Message With strtolower('{field}') not working

I am trying to make the {field} display in lower case in set message but has first letter upper case. PHP Code: $this->form_validation->set_message('is_unique', 'This ' . strtolower('{field}') ....

View Article

New Lines In Message Not Showing Up

I have now been able to send emails OK. How ever when I revive them they do not show my new lines its just in all one line How do I make sure it displays the correct format. PHP Code:...

View Article

Help set up routes

Hello, I have a URL like: * http://site.ru/news/apple/videos/ * http://site.ru/news/apple/pictures/ * http://site.ru/news/apple/reviews/ And set up routes: $route['([^.]+)/?'] = 'structure/view/$1';...

View Article


Uploading File

Hello, I am trying to upload some file but have not been successful yet doing this. This my upload CI codes.  My target extension is JPG/GIF controllers/uploadfile.php PHP Code: <?phpclass...

View Article


Picture Gallery

Hello, I am building an uload form system with CI then now I am thinking about the image gallery. Which is better for the image gallery? I am looking for not just a plain image gallery.  I forget using...

View Article

table spacing

Hello,  I am trying to create an html table that has spacing.  I thought I know html but this time, I cannot practice it in CI.  Can anyone help me fix my html code so that my table has some spacing in...

View Article

Help with cronjob command line

Hi all, I am trying to run a controller that I have made for a test (to test cronjob) and I am just struggling at the command line.  I have the following controller PHP Code: <?php class Reminders...

View Article

Image may be NSFW.
Clik here to view.

Extend MY_Form_validation not work

I'm locked for extend my form_validation rules... In my controller I have a function article_new() who have this rules : PHP Code: $this->form_validation...

View Article


Blade Template Engine Add ??

Blade Template Engine Add in CI 4 using blade template customize very so add blade template engine

View Article

CodeMastery Test CI3.0

Hi guys, just created this site, http://www.codesmastery.com/language/lan...deigniter/ Is the idea good or bad? Thanks in advance. sorry if the site is slow to load, it is the stupid hosting company's...

View Article


How to display record based on their ID?

This is my index.php file <a itemprop="title" style="text-transform: capitalize;color:#29aafe" href="<?=site_url('jobdetails/#'.$row->JPostID);?>"><?=$row->JTitle;?></a>...

View Article

[split] SEO work is available?

(03-21-2016, 11:06 AM)jlp Wrote: CodeIgniter 3.0.6 was released today, with some bug fixes and a minor feature. Most importantly - it fixes a critical bug where a manually-crafted input could bypass...

View Article


Regenerate CSRF token and AJAX

Hi to all... I enable CSRF in my app with ajax calling. I know how to handle CSRF protection while using ajax. But in part of my app, there is a cascading select elements (one for state and one cities...

View Article

Image may be NSFW.
Clik here to view.

Multiple controllers per page + Multiple instances of the same model

Hi! I found CodeIgniter yesterday, and thought that it was quite awesome - So I'd like to jump right in and create that webapp idea I've had for a while. Now, this post contains two (Actually, three -...

View Article

Image may be NSFW.
Clik here to view.

How to load model and helper

Hi All. I want load model and helper and using it. Can't you help me using it. Tks all

View Article
Browsing all 14343 articles
Browse latest View live


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