Questions tagged as 'codeigniter-3'

2
answers

Pie Charts with Google Charts

I'm trying to generate a pie chart with codeigniter and mysql but I get it I'm wrong I'd like your help Here's the code; chartcontroller.php <?php if (!defined('BASEPATH')) exit('No direct script access allowed'); /** * */ cla...
asked by 04.10.2016 / 00:20
3
answers

codeigniter: change from one view to another

I have a question, I am using codeigniter and I want to do the following, in the model I make a query which I charge in array in the index of my controller, which later I show it in a table through a foreach in the vi...
asked by 20.12.2016 / 02:28
3
answers

Problems with routing in CodeIgniter 3

I am trying to execute a code in CodeIgniter on my computer under Kubuntu. To access the home ( link ) there is no problem. But when trying to access another URL ( link ) the message appears    "The requested URL / client was not found on thi...
asked by 03.01.2019 / 23:35
1
answer

CodeIgniter form that does not validate correctly

I am trying to make a validation that although it validates well but I find two more problems that are related. They are the following: 1. When I use the <?php echo set_value('') ?> for each field and when I return the errors, the f...
asked by 06.06.2016 / 01:16
2
answers

Improve MySql query coding

I have the following a doubt regarding the code that I implemented. Although it is functional, I am not convinced by the way in which I managed to solve the problem. What it does is calculate the average of the recorded data at the exact time...
asked by 06.12.2018 / 15:26
1
answer

Determine form to do other things first and then resume it and send it to CRM

I have a problem since yesterday with the following form with submit button <form id="form_contactanos" action='https://crm.zoho.com/crm/WebToLeadForm' name=WebToLeads54017000020400005 method='POST' onSubmit='javascript:document.charset="UT...
asked by 12.12.2018 / 18:39
1
answer

Select a selected: true from another Select

For some reason you do not select me on the second Select. I have not asked the question without checking before, but it does not work for me. I have a Select that depending on what I choose, I will select by default any of the options that I al...
asked by 27.12.2018 / 19:56
2
answers

How to use url segmentation in asp.net mvc?

Good I have the following doubt, I want to know how I can work with the url, what I mean is the following, in PHP / Codeigniter, we worked in this way. //URL= https://localhost/algo <?php if($this->uri->segment(1)=='algo') {?> //s...
asked by 16.08.2018 / 19:12
2
answers

Show Selected text Select an option

Very good and tried to put in a selected control the option "Select an option" but it does not work for me, the combo is loading data from the database, I'm using the codeigniter framework, I would like someone to guide me in it to be able to lo...
asked by 18.08.2016 / 17:39
1
answer

Insert in two tables at once

I have the general table I also have the table line And finally I have the company_line table What I want to do is that when I insert in the general table the general_id of the new record is passed to the company_line...
asked by 29.11.2018 / 21:59