CodeIgniter is an open-source PHP web development framework created by EllisLab Inc. The framework implements a modified version of the Model-View-Controller design pattern.
0
votes
0answers
6 views
Codeigniter Active Record / MySQL Query - group_by causes only one row to be returned
I have the following query:
$this->db
->select('SQL_CALC_FOUND_ROWS null as rows
,services.*
,service_categories.*
,categories.*
,table4.*', FALSE)
...
-1
votes
1answer
22 views
Upload multiple images in mysql database by php
How can upload multiple images in mysql database by html5(javascript) and php(codeigniter).
What do i do, php (codeigniter)? (I can not change the javascript code, please give me example)
Html:
...
0
votes
0answers
16 views
CodeIgniter “The page you requested was not found.” error?
I'm having a problem with CodeIgniter. I've checked every possible solution on the internet and seems like nothing helps in my case. I'm not a big pro and it's my first time using CodeIgniter so don't ...
0
votes
1answer
13 views
Codeigniter best approach to load data from model
Im trying to load data from a model if the data from a previously loaded model request is_numeric. I have written my code like this, though it doesn't work and i sort of get why. But i dont know how ...
2
votes
1answer
18 views
Php 5.3 mcrypt not working on CentOS 6.3 32-bit
My CodeIgniter application works fine on Amazon EC2 64-bit AMI micro instance thanks to @stormdrain who recommended I install mcrypt to resolve a non-functioning $this->encrypt->decode(...); ...
-2
votes
1answer
25 views
Backbone.js model urlRoot webapp folder name getting appended twice
i'm working on a web app with backbone.js +codeigniter called shelfari
the directory structure is as follows
I have placed "shelfari" folder in htdocs and accessing the website site as
...
0
votes
5answers
38 views
how to convert timestamp to date in codeigniter
I want to convert 1373892900000 to Monday 2013/07/15 8:55 AM in Codeigniter.
However, I keep receiving a totally different result by converting the timestamp using the function i have written, please ...
0
votes
0answers
5 views
Datamapper save does not work
I have installed Datamapper 1.8.2 on the lastest version of CodeIgniter 2.1.3
I can get and display data from database, I can delete rows, but the Save(); function does not work.
It produces no ...
0
votes
2answers
34 views
codeigniter working fine on local but not on web server. 404 Error
Codeigniter is working fine on local server but not on web server.
I used XAMPP for the development on local.
I am using Parallels Plesk Panel 11.0.9 for Microsoft Windows.
404 error page of ...
0
votes
0answers
12 views
htaccess rewrite file to codeigniter controller
I'm having trouble rewriting external file (outside codeigniter directory) to a codeigniter controller.
It works when accessed directly: http://site.com/codeigniter/index.php/controller/method
It ...
0
votes
0answers
16 views
php close connection and continue on background
How can i close the connection and continue on background on the following environment ?
SERVER : Microsoft-IIS/7.0
PHP support : (run as FastCGI application)
PHP version : 5.2.17
Host : Shared ...
0
votes
1answer
20 views
Codeigniter - setting up directories and files permissions (chmod settings)
Since i don't think i got right permissions all over my application folders and files is there anyway to check the right permissions allover them?
I mean, does anyone knows/has a ...
0
votes
2answers
19 views
A attribute's name just like function.How am I get it?
I try this on codeigniter 2.1.4.
$sql='SELECT COUNT(*) FROM prefix_blog_article';
$query = $this->db->query($sql);
$result = $query->result();
$result = $result[0];
And ...
0
votes
0answers
20 views
Can I Populate “Google Charts” From Server Side PHP Alone?
I'm using CodeIgniter framework. In my View, I have the following table which is automatically populated from the data extracted from database via Controller and the Model. How can I represent them in ...
0
votes
1answer
24 views
How to prevent POST methods from being accessed via GET in Codeigniter?
I am using Codeigniter . I have the below method - create_client when the user submits a form with all details filled in .
<?php if ( ! defined('BASEPATH')) exit('No direct script access ...