Most voted "codeigniter" questions
Codeigniter is a framework for developing PHP applications.
Learn more…1,026 questions
Sort by count of
-
0
votes1
answer25
viewsI would like to know how to list data in different bootstrap tables using Codeigniter
This is the view named Dashboard.php <main role="main" class="col-md-10 ml-sm-auto col-lg-10 px-4"> <div style="top:-5px" class="col-md-12 d-flex justify-content-between flex-wrap…
-
0
votes2
answers64
viewsPhpmailer works on a project created without a framework but does not work with a project created with Codeigniter
Initially, I created a project without any kind of php framework where I needed to use Phpmailer to send an email. It turns out that right now, I’m redoing the project using the Codeigniter…
-
0
votes3
answers6902
viewsAjax request with Error Failed to load Resource: the server responded with a status of 500 (Internal Server Error)
Everybody, good afternoon, everybody ! I’m setting up a local manager, and I’m having trouble searching the required fields, is returning Failed to load Resource: the server responded with a status…
-
0
votes1
answer53
viewsHow to open a new page with codeigniter
I’m trying to learn a little bit about this framework, all the time I find something I don’t know how to solve, but after a lot of effort I can solve it, and now I’ve come across this little problem…
-
0
votes0
answers53
viewsProblem to log in using PHP and Codeigniter
I took an internal system of the company to give maintenance and I do not have much knowledge in PHP. When I log on to the application from the company server I can access it normally. I went up the…
-
0
votes1
answer29
viewsPHP(Codeigniter) continues to send email even with wrong mail server data
Therefore, in my login system I have a zone where the user asks to recover the password and is sent an email with the new password. When testing the code, I noticed that if I change the data from my…
-
0
votes2
answers429
viewsHow do I receive and submit data without refreshing the page?
Good, I’m creating a notification system in my app where I want to retrieve data from the database and inform the user accordingly through notifications. I happen to be a little lost in how do I…
-
0
votes1
answer31
viewsHow to register multiple
Good evening, I have a dynamic form that sends the following form: plano_nome: Unimed //nome do plano tipo_especializacao[]: protese // 1º tipo de especializaçao do plano plano_tratamento[]: Teste 1…
-
0
votes1
answer87
viewsError with AES_DECRYPT Mysql character and Codeigniter
Good afternoon guys. Would anyone like to help me find this mistake? I created a login area on the site, but I’m having trouble when the user uses in his password the exclamation character "!".…
-
0
votes1
answer39
viewsReceiving and Manipulating array with ajax
Good evening, I have a very big question. And I search via ajax the treatments of a certain plan, and according to each type of specialty he has to add an html. To see better follow the codes: Ajax:…
-
0
votes2
answers232
viewsDoubt with set value (codeigniter)
I have a form that after the validation using form_validation, I would like that if errors occurred, that when showing the view, return to the value I previously selected in form_dropdown, as well…
-
0
votes1
answer33
viewsError using Between with codeigniter
How to create a function SELECT ii.sku, ii.cod_setor, ia.setor_ini, ia.setor_fim, sum(ii.quantidade) as quantidades, ia.desc_ambiente, ii.cod_coletor FROM item_inventarios ii inner join…
-
0
votes1
answer129
viewsPHP - Merge array with PHP multidirectional array
How to join arrays with a multidimensional array: Array ( [0] => 1 [1] => 2 [2] => 3 [3] => 4 [4] => 5 [5] => Array ( [cod_setor] => 1 ) [6] => Array ( [cod_setor] => 2 )…
-
0
votes1
answer174
viewsDisplay the service name in select and the value in the input (Codeigniter)
I am enthusiastic, I do some simple things for a hobby, and in this case I’ve caught up with a part that I imagine for you must be very simple! I have a task system, in the form I have a service…
-
0
votes1
answer84
viewsShow registration without updating page
Good afternoon, I swear I’ve searched everywhere, but all I see is teaching to create chat :'( I am developing a project (corporate TV style) for the company I work, and the project was serving very…
-
0
votes0
answers230
viewsHow to create a select & option hierarchy of categories and subcategories (MVC)?
I am creating a select & option system for a Marketplace, where selecting a category from the first select will generate another select with the subcategory options of the selected category.…
-
0
votes0
answers227
viewsPDF generation through a very slow PHP HTML
I am developing a system in PHP that has a module for the PDF export of a certain information that Gero in HTML, but this process is very slow because I think it is a lot of information (on average…
-
0
votes2
answers363
viewsQuery and Subquery in codeigniter
Salve Galera , I’m breaking my balls to assemble this query in the IC model "SELECT *, geral_cnpj as cnpj, geral_mesref as mesref, (SELECT CEILING(( (SELECT `geral_valor_total` as valormes from…
-
0
votes1
answer54
viewsCI on host, not working
I have Xampp installed and locally my CRUD Code Igniter works. No host, subdomain is giving 404 page not found. I moved the whole folder up to a subdomain. The subdomain, created a folder that I…
-
0
votes2
answers82
viewsCheck if user already exists codeigniter
Hi, I’m having a little trouble checking if a dependent’s name has already been registered. I have a form where the person can add up to 5 names of dependents and after that is generated a tab with…
codeigniterasked 5 years, 6 months ago Luiz Inácio Lula 13 -
0
votes1
answer203
viewsUpdate Codeigniter
I’m trying to make a UPDATE in the database using Codeigniter, but the UPDATE is not being executed the way I’d like. What happens, I have 5 manuals with different contents, and when I do the UPDATE…
-
0
votes1
answer45
viewsPHP Codeigniter + mysql query
I’m new to the forum and I’d like a little help with a little problem that’s taken up a few hours already. I believe it may be some detail I’m not seeing.. Problem: Basically I need some information…
-
0
votes1
answer199
viewsDisplay menu according to user permission - Codeigniter - PHP
Hello! I am developing a panel to create and change user permission using the plugin jstree. This works well for me once I use a table called treeview to mount the tree of jstree and use the table…
-
0
votes1
answer150
viewsCapturing values from a Select to the Controller - Codeigniter
Good morning Galerinha, everything beautiful? I’m starting with the codeigniter and in the middle of that process I came across a question about the function select. Well, my question is to return…
-
0
votes0
answers25
viewsI can not fetch information from a MS SQL database through ODBC and with Codeigniter query Builder
Good, I am trying to create a login page with Codeigniter. It turns out, to validate the entered data, I need to fetch information from a MS SQL database through ODBC. When using the Codeigniter…
-
0
votes1
answer88
viewsWhy does my Ajax return an HTML code instead of just returning the value? Codeigniter
Good morning Everybody, everything’s fine? I have been days trying to return a value from my view to my controller using codeigniter. But I don’t want refresh to happen on the page. So decide to use…
-
0
votes1
answer146
viewsPassing values from a Select Multiple to the bank (Codeigniter)
My view is like this: <div class="form-group"> <label for="categorias[]">Selecione a(s) categoria(s) referente(s) a foto:</label> <select name="categorias[]"…
-
0
votes0
answers98
viewsPhoto gallery by category (Codeigniter)
Here are the codes: VIEW: <div class="container"> <?php echo form_open_multipart('admin/exibe_fotos/index'); ?> <div class="form-group"> <label for="categoria">Selecione a…
-
0
votes1
answer54
viewsReturn data in a DIV (Codeigniter)
I have a view where her code is as follows:: <section> <h1 class="text-center">Marcação de Fotos</h1> <?php echo form_open('admin/exibe_fotos/index'); ?> <label…
-
0
votes0
answers104
viewsUndefined Property
Could someone help me? I’m racking my brain here to try to solve this problem, but I’m not getting it. The error is as follows: Severity: Notice Message: Undefined property:…
-
0
votes1
answer40
viewsSending an image from one page to another (Codeigniter)
I have a gallery of images loaded dynamically, where the user searches for the category and the system loads the relative images. Below each of the uploaded images has a button, which when clicked,…
-
0
votes0
answers26
viewsReturn multiple lines in PDF
Good afternoon, you guys! I have a question about creating tables in my domPDF. It turns out that I gave a GROUP BY in the SELECT of my bank, but only returns me the first line, I wanted to list all…
-
0
votes2
answers35
viewsProblem with array_merge and WHILE - PHP Codeigniter
Good morning! I have a while that reads all the lines of a specific file, inside that while it calls a method that returns a value. This value is an array, and I’m giving a merge array_for each…
-
0
votes1
answer56
viewsQuery SQL does not work correctly
Good Afternoon, I’m trying to pull existing hour intervals on my bench. I’ll post the codes to be more explanatory Query: $user = "Diego"; $pack = "0013-001 B515 MCA ENGINEERING SUPPORT SYSTEM";…
-
0
votes0
answers72
viewsInfomasons do not come complete in Google Charts
Good afternoon Guys, I’m having two problems with that same code... One is when I just launch the day so I can catch the hours, it returns me the error Cannot read property 'getTime' of null when…
-
0
votes1
answer63
viewsJOIN with two fields in the ON clause with Codeigniter (mysql+php) (MVC)
I am in need of help with Codeigniter. "Fell into my lap" legacy application. Below is an attempt of mine to illustrate the problem, IE, table names and fields are "scenographic". How to make a Join…
-
0
votes2
answers122
viewsDelete data from 3 different tables (Codeigniter)
I am trying to delete photos from a view, however, I need to delete beyond the photo table the data from two more tables that are linked to this photo. The code with the delete function is as…
-
0
votes1
answer37
viewsError in entering data
Good afternoon Guys, I am using Ajax to send data from my controller to my view and came across the following problem. I have this query: public function get() { $sql =…
-
0
votes0
answers247
viewsPOST Codeigniter?
I’m doing a CRM in codeigniter and I’m having doubts in a following situation, I made a Join between my client table and called, every client has called but when it comes to inserting, I’m not…
-
0
votes0
answers41
viewsInsert an id from another, codeigniter
Hello, good afternoon to you!! I need help in a following case about codeigniter, I have my Clients table and my Calls table, in the register of a call, I need to reference it to a client, the "call…
-
0
votes0
answers56
viewsRecover Larger ID in Database query
all right? I’m working on a client website, which was developed using codeigniter. The tables created by the programmer were not designed for some functions, and the client requested that I create…
-
0
votes0
answers23
viewsHow to send inputs to Controller with dynamic "name"? (Codeigniter)
I’m developing a quiz game, where the user has several input’s to fill. Only that I am not able to develop the logic to perform the comparison of the entered data with the database data. Follow the…
-
0
votes1
answer48
viewsDuplicate records in the database table
I have the following model: function validarQuestionario() { if(is_array($this->input->post('resposta[]')) || is_object($this->input->post('resposta[]'))) { foreach…
-
0
votes0
answers154
viewsProblems with daylight saving time (when returning timestamp) database
I’m having a headache after October 19, as was usual the summer time, and this year there were no, some clients performing some tasks in my school attendance system, while saving a date that is…
-
0
votes1
answer329
viewsCheck if registration already exists (Codeigniter)
I am developing a scheduling system (automotive sector). The idea is for the user to choose an installer(ComboBox), Schedule(ComboBox) these times are already predefined and the date(Input/Date). I…
-
0
votes1
answer147
viewsDISTINCT and GROUP BY do not work on Codeigniter
everything jewel? Recently I took a job to do, and the requester was needing to list some data on a table. I was going to ask all the questions here, but I decided to divide them into parts because…
-
0
votes2
answers299
viewsCodeigniter - How to make a select in the database query?
I’m doing a list application of patients for surgery and using the CodeIgniter and Bootstrap. My doubt is how to make a select in the database query so that it shows me in the table only the results…
-
0
votes3
answers112
viewsWHERE condition does not work
I’m trying to put a condition in a function and it’s not working... I tried to put this condition but it didn’t work $this->db->where('idUser =', $this->session->userdata('id')); Usually…
-
0
votes1
answer58
viewsString missing characters(from php database)
What is happening here is that a string (varchar), coming from a database query, is missing characters when I go to php , php read until a certain part later stops. When I do a query Using SQL…
-
0
votes0
answers59
viewsRescue Data to Create Dynamic Tables and Charts
all right? I have a question here in a project I picked up, I am not an expert in database and much less in php, I am in the learning phase. I need a function to collect some database data in a way…