Questions tagged as 'codeigniter'

1
answer

Import CSV file to MySQL

I have a database with these two tables: TABELA CONTRATO id contrato pessoa_id TABELA TITULO id titulo valor vencimento contrato_id I need to import the contrato column, retrieve the ID of the inserted contract, and then impo...
asked by 25.10.2018 / 15:54
0
answers

Call in JasperReports file with Oracle database

I have some files generated by JasperReports (.jrxml) that querying an Oracle database. My question is in direct execution with parameterized in PHP (framework codeigniter), standard MVC. I've tried some XML's, but to no avail. I need to gene...
asked by 28.09.2018 / 00:05
1
answer

Object not found when clicking hyperlink

Hello, I'm learning IC and I came across the following problem. When I click on a link in a home test, I would like to be transferred to another page and use another controller, but when clicking, I get this error: Objeto não encontrado! A UR...
asked by 27.10.2018 / 03:39
1
answer

Codeigniter 3.1.9 - Connection with the Database

I'm developing a Web application using version 3.1.9 of Codeigniter , but I'm having trouble connecting to the database. Follow configuration: $active_group = 'default'; $query_builder = TRUE; $db['default'] = array( 'dsn' =>...
asked by 04.09.2018 / 18:03
1
answer

Edit Image upload with Ajax and CodeIgniter

I have a difficulty that is as follows, I have a CRUD that the upload works correctly, when editing this CRUD I can edit all the data including uploading the image all without problem, however if I decide to edit only the data and not edit the i...
asked by 14.09.2018 / 21:43
0
answers

Codeigniter - Call to undefined function mysqli_connect ()

I'm using CI in version 2.2.5 and I'm having an error in my project.    Error: Fatal error: Uncaught Error: Call to undefined function mysqli_connect () in C: \       local: system \ database \ drivers \ mysqli \ mysqli_driver.php on line 77...
asked by 17.07.2018 / 15:01
1
answer

Every time I make a page in Codeigniter I need to put the JS, UI, VALID links?

I need the help of the experts there. Every time I have some codeigniter application I need to put the links, which usually stay in the head or footer within the page I created? Example: I create a User view, and in it I add user and valid...
asked by 06.07.2018 / 23:04
1
answer

Delete a specific Image from a File

I am currently working on a new project, using Codeigniter, it is my first experience and I do not find great help, I want the user to delete a photo chosen by him from his folder, The controller: ' public function delete() { delete...
asked by 08.06.2018 / 12:58
0
answers

Php Codeigniter - Algorithm to generate base string from bank data

Good night people, how are things? Let's go to my problem. I have the data saved this way in the bank: BasicallyaprojecthasTERMSrelatedtoit.Termsinturnmayhavesynonyms.Iwantmyfeedbacktobeasfollows(seeprint2)("$termo" OR "$sinonimo") AND ("$ter...
asked by 14.06.2018 / 01:21
0
answers

Bank query problem with Codeigniter

I have a table in the database (use_shopBlock), which blocks a button in the view, but when I give a <?php var_dump($shopBlock);?> the result is NULL . My view: <?php $shopBlock = $this->main_model->...
asked by 25.05.2018 / 16:10