Table heading with multiple rows
I need to create this using table library. set_heading only adds one row heading I need two. Code: <thead> <tr> <th>head1<th> <th>head2<th> <tr> <tr>...
View ArticleWhat is the request life cycle in CI?
I'm a newbie for Codeignitor (CI), I want to know how a request is handled when it comes to CI, just like it is explained for laravel in it's doc. Specifically I'm asking for CI 3.x
View ArticleHow to include token in API rest
Hello!! I am trying to create an API rest, I am simply fetching data from a Database via GET. It works perfectly but, I want to generate tokens so that it has security. I have searched but still can...
View ArticlePossibly bug or incorrect code?
Query returns only one row in table (I tried with table helper, and without with my own table). here is the example of view Code: $query = $this->db->query("SELECT FROM `news` WHERE...
View ArticleCommunity auth: problem with login
Hello to all. I have a problem with login: I read on previous posts but did not find the solution to my problem. This is debugging DEBUG - 2017-07-05 00:50:57 -> String = Giba Password = Mat2101g...
View ArticleHMVC not working trying to show view partial in CI 3.1.4
Hello, I started using HMVC today (https://bitbucket.org/wiredesignz/codeig...sions-hmvc) and I've got to put the code to work as a module modifying MX_Loader (there was a missing function so I read),...
View ArticleTitle in url
Hello, I redo my website my old website, with CodeIgniter. I go through tinymce to create the tutorials, which I register in database. But I do not know how to display them? In addition, I want the url...
View ArticleCI 3 and MS SQL (sqlsrv) Error
Hi. I am using: - Windows Server 2008 R2 as web server - PHP 7.1.2 - Codeigniter 3.1.4 I have a MS SQL database in my other server. (Windows Server 2012 R2) I have problem about connecting to that MS...
View ArticleWhat is the best way to handle stored procedure?
Like affected tables or if something went wrong how would we handle those?
View Articlearray filtering support in Request ( fetchGlobal ) | force filter usage ?
Hey, it would be nice to have an array filtering in fetchglobal - currently i have some helper functions for specific/easy scenarios like numeric array: PHP Code: public function getPostArray( $index,...
View ArticleIntroducing Phassets, an universal Web assets manager
Hello, CI devs! I would like to introduce to you Phassets, a Web assets management library. Point out the sources of your .js, .css (and much more soon!), and this lib will minify them, and deploy them...
View ArticleDb forge
Hi sorry for english , i have two answer about db forge : Code: function create_users_table(){ $this->load->dbforge(); $fields = array( 'id' => array(...
View ArticleReporting Tools On CodeIgniter
Hello Guys, I am a newbie in CodeIgniter community and started working on a medium scale web application for a big company. Right now the main issue I am facing is, what type of reporting tools is...
View ArticleShowing cool charts
I made a website that receives reports e.g a status of a machine, now I think it'll be a lot cooler to show some chart but I don't know what data should it presents. Should I use line chart and show...
View ArticleUpdate data in DB
I go through Tinymce to create pages. I would like to edit them. That's what I did: I can not view the data to change it Controller PHP Code: <?phpdefined('BASEPATH') OR exit('No direct script...
View ArticlePrevent HTTP verb tampering
What is the proper way to prevent HTTP verb tampering in CodeIgniter 3 so that except POST and GET other HTTP methods are not allowed? I have used Quote:if ($_SERVER['REQUEST_METHOD'] != ('POST' ||...
View ArticleHow not to get selected data
Hi, I have my code below I would like to be able to use 'users.*' to be able to get the users data how ever is there a way in select not to get the password but gets the all of other data. Currently it...
View Articlehow to configure CSP correctly
Hey, i was trying to use the Content Security Policy feature but i always get the (console) error that your settings has blocked a resource on self i tied different settings with absolute path and...
View ArticleFile Upload
Good day, does anyone have a clue how the file upload for igniter4 is supposed to work?? been having lot of failed attempts
View Article