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

Image may be NSFW.
Clik here to view.

Order By Time Not Working

Hi, I am working on my project but for some reason my order_by('time', 'asc') is not sorting out my list correct As you can see number 4 and 8 should be closer together but is not I am not sure if its...

View Article


Upload multiple files

Hi, I want to do upload multiple files and  I can do this in cycle. But first I looked source code of Upload library and found the part of the library code. And I can't understand this code. What does...

View Article


Disallowed Key Characters in url

Dear All, I 'm facing with this problem: If I write URL with non-allowed characters like: xyz.hu/csöcsösnyúl I got this message: "Disallowed Key Characters.csöcsösnyúl". It is ok. But If I call xyz.hu...

View Article

Codeigniter sessions not working CI v 3.1.7 in chrome mobile android

I recently discovered that my website login that uses CI v 3.1.7 and Ion Auth, doesn't work on my Android version of Chrome. It  works in my Android Firefox and in Chrome/Firefox/Edge desktop. I cannot...

View Article

Image is not being uploaded into Database

Hello PHP Code:            $slug = str_replace(' ', '-', $this->input->post('title'));            $slug = strtolower($slug);                        $subject_name = str_replace(' ', '-',...

View Article


Looking React Native Programmer

Hi Folks, Currently we are looking software developer/programmer who have good skills & command on react native technology for our app development agency, we are Toronto based agency, so if any...

View Article

AJAX CALL

hi,  how to pass an array values to controller function using ajax call this is my code in the view : var selected=[]; var i = 0;  $('#multiselect_to option').each(function(){...

View Article

HELP w/SQL Server 2012 and insert_id

I have a piece of code: PHP Code: $this->db->insert($this->table, $data);$new_id        = $this->db->insert_id();  For SQL Server 2012, the $new_id suddenly stopped working, the record...

View Article


Is there a tutorial on how to run the system tests?

CodeIgniter 3 comes with a folder full of tests. Has anyone written instructions on how I can run those tests?  My first thought was that they would run in the browser, so I've got a...

View Article


Redirect Problem

Hello, i have received a website powered by CodeIgniter, the home page work, but when i click on Register, i have 404 error page. I'm on a Virtual Host with xampp. Here's the base url PHP Code:...

View Article

Force to download file

Hi I need to force download any for for download Actually i dont want to play audio or show picture in browser and user have to download it

View Article

csrf token and cookie

I am having a challenge implementing csrf protection on two projects based on CI 3.x.  As far as I know, my code is not unconventional.  Submission of any form results in: PHP Code: An Error Was...

View Article

CodeIgniter 3 With IIS 7.5 - Best Code for File Downloads

I am relatively new to CI. I have a working site with basic login/logout code in place.  I store the user's userid in a session. My next task is to provide a download link for each file listed in the...

View Article


Is there a way to combine these two functions? Category System

Hi, I'm working on a blog in which I need to display the categories it has, the problem is not that I can not get them, the problem is that I have to select the two values(category.id and...

View Article

DBFORGE add field zerofill

Hi, I would like to create a table with a field tinyint(2) unsigned zerofill. When I try the statement below column is created but zerofill don't work.  'month' => array(                     'type'...

View Article


How to handle DECLARE and SET in MS SQL query with ODBC driver?

Hello everyone! I have problem running MS SQL queries in CodeIgniter. If we have query like this: PHP Code: $return = '';   $query = "       DECLARE @number int       DECLARE @name varchar(10)...

View Article

is there a way to get more metadata

according to documentation the only metadata we can get with this "$fields = $this->db->field_data('table_name');" are $field->name;...

View Article


Migration to new hosting with postgreDB

Hi, I'm looking for help with migration of my website where I using codeigniter. I migrated website to another hosting and on the new hosting is postgreDB. Everything was ok with migration, but after...

View Article

How to show data only his data while he login

Hi everyone,  The condition is employee login by using email as username, and after login all employess data are shown in the table. But the condition  i want is this: when an employee login, he only...

View Article

application/Views/errors/html/error_exception.php

In my Eclipse IDE application/Views/errors/html/error_exception.php is getting flagged as an error(2) because of a reference to \CodeIgniter\Services::request(null, true). Shouldn't it be...

View Article
Browsing all 14114 articles
Browse latest View live


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