Questions tagged as 'codeigniter'

1
answer

Jquery does not validate password Incorrect

I have the following jQuery $(document).ready(function(){ $('#email').focus(); $("#formLogin").validate({ rules :{ email: { required: true, email: true}, senha: { required: true} },...
asked by 06.11.2015 / 17:01
1
answer

Error number 1064 CodeIgniter

An error is popping up when I log into my system:    Error Number: 1064       You have an error in your SQL syntax; check the manual that   correspond to your MySQL server version for the right syntax to use   near 'SET last_activity...
asked by 22.10.2015 / 20:10
2
answers

Set field to null - CodeIgniter

Hello, beauty? I am doing an update in a table and am sending the array of data. However, I have a date field. Every time I update, it sends the field as 'dtnascimento' = '' . When this data arrives in the database, my database hits t...
asked by 22.09.2015 / 20:09
1
answer

Compare array fields codeigniter

Good evening! I am doing export reports, in my form are sent via $ _POST the fields that the user wants to export, I get and assign to a variable all fields. I need to compare these fields with the fields coming from the database return....
asked by 26.09.2015 / 01:48
1
answer

Get database data with Codeigniter

My question is how to call some DB information to the print page of a PHP system, developed in Codeigniter . In the users DB "doctor", I have the following tables: doctor_id , name , email , password , address...
asked by 23.08.2015 / 19:10
2
answers

Select the country and bring the state

I have a code that is in Codeigniter . It has the page to register a user. This page asks him to enter the country and state he lives in. He needed it when selecting a country to come the states corresponding to that country. I found a Jav...
asked by 17.09.2015 / 14:32
1
answer

disappear a button

I have a code where it creates a table if it has a record in the database. In this table, in the last column there is a button that when clicking opens a more detailed screen on that row of the table. I need to make this button appear only in th...
asked by 21.07.2015 / 19:40
1
answer

Treat session by codeigniter model or controller

I'm trying to send the data from the bank to the session, gave a print_r in the data received from the bank, but I can not pass it to the session, follow the code. Controller <?php defined('BASEPATH') OR exit('No direct script access all...
asked by 03.09.2015 / 00:15
1
answer

How to create configurations via json in codeigniter

How to use a json settings file, so that the values of the parameters of the files become variables of style settings $ config ['var'] in codeigniter?     
asked by 19.06.2015 / 21:13
2
answers

Uploading images in CodeIgniter

Good, First I wanted to say that I do not understand anything, but nothing of CodeIgniter, I never worked, I had not even heard of it. But the site is so done and I was asked to add an upload of images. And so I did, but evil. Here is the cod...
asked by 14.07.2015 / 12:51