Questions tagged as 'codeigniter'

2
answers

Pass several parameters to a view in CodeIgniter 2

Good day community, I hope you can help me with this little problem that I have ... I just started with this framework and I have the following problem. It is a site in which I intend to show products and categories of a database ... the code of...
asked by 10.07.2017 / 20:38
1
answer

I have a problem with login in codeigniter

my problem I already have the model controller probe and connection with database and everything but at the time of initiating session do not login: model class user class User extends CI_Model{ public function getUser($email = ''){...
asked by 16.07.2017 / 07:31
2
answers

How to join 2 fields of a table to only 1 field of another table?

I have 2 tables in my DB, one is "users" with the fields "id", "name" and "surnames" The second "sales" has the fields "id_venta" "id_vendedor" and "id_comprador" and what I want is to generate an html table in which the names and surnames of...
asked by 19.06.2017 / 10:30
1
answer

Access to the controller in CodeIgniter [duplicated]

I have a query in CodeIgniter , I have a controller with which I do specific jobs and I do not want to have access to it through the url , example, http://miproyecto/tareas/index That only shows your data in a% central layout...
asked by 19.06.2017 / 01:52
0
answers

Query does not recognize variables in Codeigniter

When doing an update in codeigniter, it does not recognize the variable that I am passing to it. public function actualizaPropiedadModel($tipoPropiedad,$cItem) { $data = array('tDescripcion' => $tipoPropiedad); $this->db-&g...
asked by 12.06.2017 / 18:28
0
answers

Error in my CodeIgniter fix

structure an array to store the url addresses so that it would be more dynamic when it comes to fetching the urls    As before I had it array( 'name' => 'inicio', 'url' => 'http://' . $_SERVER['HTTP_HOST']...
asked by 12.06.2017 / 19:29
1
answer

Check if the storage of the image path was correct in codeigther

I need to upload or store some files, which I keep the path in the database and that file I send to a folder with a main route. The error comes when I upload my file, it saves me but it does not check that it is really good, for it I put it that...
asked by 04.09.2017 / 08:13
0
answers

Codeigniter connection problems

I was working on a codeigniter project from wampserver and it ran perfectly but now I change to a mac and install the project in mamp and throws me the following error    A Database Error Occurred Unable to connect to your database se...
asked by 01.06.2017 / 18:58
0
answers

Error saving image with ajax in codeigniter

Good, I'm starting to use codeigniter with the upload library, and ajax to save an image, it is saved in a table image that has 3 attributes id_image (that is autoincrementable), route, and as foreign id_person. this part being clear my problem....
asked by 23.05.2017 / 21:21
0
answers

Error in CodeIgniter

I have a problem with the FrameWork of CodeIgniter, I mark the following error that is shown in the screenshot but it is not the code because it fulfills the functionality correctly. I hope and you can help me.     
asked by 01.06.2017 / 17:20