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

count_all_results() - is it optimized?

So what is faster? $this->db->count_all_results() or manually write a query and get count result?

View Article


Proper use of join

I got a problem - when i use code like this one Code: $this->db->select('u.id, u.username, c.name', false); $this->db->from('user as u'); $this->db->join('companies as c',...

View Article


Migration to Codeigniter 3 from 2

We are based in California and are looking for a developer to help us to migrate to Codeigniter 3 from 2 along these 21 Steps .. . https://www.codeigniter.com/user_guide/installation/upgrade_300.html...

View Article

Image may be NSFW.
Clik here to view.

CSZCMS 1.1.8

CSZ CMS upgrade news about version 1.1.8, Have many bug to fixed and add new feature. We improve the performance. RELEASE NOTES FOR 1.1.8 Add more meta tag field on content page. Add plugin frontend...

View Article

Image may be NSFW.
Clik here to view.

Codeigniter duplicate session problem

I have an application built with codeigniter using the sessions class and storing session data in a database.but when I login into the system with different user and different COMPUTER and Browser, I...

View Article


What to return in controller

Hello. I would like to ask, what to return in controller if I am expecting XMLHttpRequest but request is not XMLHttpRequest. I have something like this: Code: public function show_post($id) {  if...

View Article

Datetime Helper

such as "Now", "Yesterday", "Tomorrow", "Last Week", "A few minute ago (like Facebook)" and others, and day counting of two date entries. and generating distance between these 2 dates in units of days,...

View Article

Asset Compress & Management

Like Yii2 Asset Bundle. So i can split between vendor library (like bootstrap & jquery) and my own custom css and javascript with asset compression. here for reference Yii2 Asset Bundle. Thanks

View Article


CI_Email::from() ignores the display name in the email address

When specifying an email address that contains a display name the from() method in the Email class ignores that display name. The following example code illustrates my point: PHP Code: $email_address =...

View Article


Searching for hashtags in text field using active record?

Hi! I have a table that is used to store user_posts. It has a text field called content (TEXT). Users can post #hashtags #our #cool. I'm trying to run a database search using active record to find the...

View Article

Ajax 403 error

HI , sorry for english , in my form , i want populate a select by searching value inserting a substring ( with like select ), This is Jquery code : Code: <script> $( document ).ready(function() {...

View Article

Problem With Image Resizing

Hello to All Members, I have a problem in image resizing. I have a function name as do_resize(). it gets 4 parameters and return the name of the the new resized file. the code of this function is given...

View Article

Set php cookie when user closes modal

I want to be able to set at cookie in php when the user closes a bootstrap modal. And so when user comes back to that page one show again until cookie expire.  For some reasons still sets the cookie. I...

View Article


[SOLVED] Num_rows() returns error message

My application is using the sqlsrv database driver. In many queries, the $query->num_rows() function throws an error: Code: fatal error: call to a member function num_rows() on boolean Even if I use...

View Article

myBB and CI logins

Hi, I have a CI website with a login system, that recognises users and admin_users nicely. Admin users can access the admin pages as expected etc. What I want is to add to the backend for admins only,...

View Article


input post empty

Hi guys, i'm writing a backend in CI (frontend separated in html/js) when i tried to send POST data to my controller $_POST is empty.. I've tried for few way but i always receive a empty array. Maybe...

View Article

Login library

Hi, I am back at using CodeIgniter. I need to use an authentication library. What's the situation with these libraries and CI3, now ? (I could not find any thing recent on the forum) Is Community Auth...

View Article


Unit testing and Continuous Integration

Hi, I am back at using CodeIgniter. It seems the Unit Testing class has quite improved. What's the consensus about it ? Is it good to use now ? Can it be used for Continuous Integration ? Are we still...

View Article

Image may be NSFW.
Clik here to view.

Improve Pagination CI 3x

Hi, everybody Please have a look at the attachment files  as we can see there are lots of links. I want it with dot format http://prntscr.com/gzmvl3 Thanks Nasiruddin  ABN WEBTECH   scrr.png (Size:...

View Article

Share Vuejs Route with Codeigniter Route

i'm building a customer admin with Vuejs, within my CodeIgniter application. I use the VueRouting for different sections within the dashboard Code: export default new Router({     routes: [     {...

View Article
Browsing all 14343 articles
Browse latest View live


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