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
5 views
Re-displaying CodeIgniter data that isn't validated
As I understand it, only values that get validated can be re-loaded on a form if validation fails. Currently I have the following form
<?php echo form_label('Vendors', 'vendors'); ?>
...
1
vote
3answers
758 views
jQuery Lightbox w/ CodeIgniter missing images
I'm attempting to implement a jQuery Lightbox plugin into a portfolio site build on CodeIgniter. I can get the lightbox to load and show up when an image is clicked. However, the images that should ...
6
votes
4answers
1k views
Update Database Field Error CodeIgniter
I am getting the following error message in CodeIgniter 2.1:
A PHP Error was encountered
Severity: Notice
Message: Array to string conversion
Filename: database/DB_active_rec.php
Line Number: ...
0
votes
1answer
19 views
Codeigniter, using set_checkbox in a controller
I've got a loop that generates checkboxes, I have it working within the view, but I would like to move it into the controller and then pass the resulting string to the view. The problem is ...
0
votes
0answers
12 views
HTML5 Server-Sent Events : empty response
I am writing a web service using PHP (CodeIgniter).
I tried to follow several basic tutorials on Server-Sent Events in HTML5.
However, I wasn't able to run any of them.
I am receiving proper ...
0
votes
1answer
13 views
CodeIgniter just show one result from my table
SELECT * FROM image;
I am using that query to get data from image table, when i checked it using this query directly into mysql commandline it showed 3 result like this
3 rows in set (0.00 sec);
...
0
votes
2answers
87 views
unable to send parameter through ajax to a page itself
I am sending parameter to a page itself on keyup event.
I am sending a parameter though ajax like url:"http://localhost/application/views/pages/users/tags.php?tagfilter=lif",
and getting its value ...
0
votes
2answers
121 views
+50
Passing further inside of template
I'm using the same template library that phil sturgeon created and I have the following layout for my control panel. I am getting this error. I ran a var_dump on the template variable inside the ...
0
votes
2answers
40 views
how to call form_open [closed]
Hello guys i have a problem with my code...
I can't call function form_open('administrator/login') from my view...
this is my view
<?php echo form_open('administrator/login'); ?> ...
-1
votes
0answers
10 views
ajax submit form using cakephp
this is my ajax script which i used in codeigniter to send form data without page refresh
now i want to know how can i submit form in cakephp 2x using ajax.. i dont want to use cakephp helper or other ...
0
votes
1answer
25 views
Codeigniter email library not sending on localhost
I know that this is already multiple answered here, but all these answers did not helped me with my problem.
Because it is the simpliest way for testing, I use the mail protocol, and work on my local ...
0
votes
0answers
12 views
Acces an element in an array, in a subdocument, in a document using MongoDB and Codeigniter
I have this document in the 'families' table:
{
"_id" : {
"$oid" : "51b701a81c1d7bd459000001"
},
"items" : {
"tasks" : [{
...
0
votes
1answer
21 views
Setting and getting COOKIE with CodeIgniter returning random letter
I am sure this is 100% wrong so if someone could correct me It would be greatly appreciated.
But on the 'index' page it the variable $venuedeets returns a random capitalized letter currently C.
on ...
0
votes
1answer
18 views
Why does Codeigniter automatically convert special entities in the form validation class if validation fails?
I didn't realize this until now, but when using the CodeIgniter form validation class, if validation fails ($this->form_validation->run() === FALSE), all special characters in the post variables get ...
1
vote
0answers
16 views
Codeigniter and bootstrap-wysiwyg
Hello everyone thank you in advence for any help you can give me.
I am using codeigniter and bootstrap-wysiwyg. I used it with locally in WAMP and it work fine but now that I have place on a live ...