Questions tagged as 'codeigniter'

2
answers

Access an element that comes within an array

I was able to access the first image, but I do not know how to move in the other tree. my current code is: $datacategory = $this->Restaurant_mod->category(4); for($i=0;$i<count($datacategory);$i++){ $datacat...
asked by 11.06.2018 / 18:09
0
answers

Stored Procedure codeigniter does not run

I have a problem calling a Stored Procedure with codeigniter, the stored is to generate an id autonumeric this is the code, I use PHP 7.0 , MySQL , Codeigniter 3 , jQuery 3.1 . DELIMITER $$ CREATE DEFINER='root'@'localh...
asked by 26.10.2018 / 00:22
1
answer

Error 404 in Codeigniter project published in Azure Cloud Web App

Well, I am new by launching this type of project and for the moment I am trying to configure a codeigniter project within the Azure cloud portal, through a web app. The issue is that I get a 404 error when trying to access the credential validat...
asked by 14.10.2018 / 01:28
0
answers

PHP Codeigniter Integrate web service

I am integrating the CodeIgniter Rest Server library, but it does not work for me, someone could guide me correctly, I only copied the files indicated in link , but it does not work yet. Copy the application/libraries/Format.php...
asked by 11.10.2018 / 17:34
1
answer

Return value to enter a conditional php Codeigniter

Good afternoon everyone. I do not know if I am doing well or if it is necessary to do so. I am working on a development with PHP and Codeigniter and I have two files one in the Controller folder and another in Model ; what I try to do i...
asked by 10.10.2018 / 23:35
0
answers

Codeigniter / Mysql "Warning - mysqli :: real_connect (): MySQL server has gone away"

I'm getting the error "Severity: Warning - > mysqli :: real_connect (): MySQL server has gone away" in codeigniter when the connection to the database is persistent, that is when in the base configuration of data the pconnect parameter is lef...
asked by 19.10.2018 / 00:43
1
answer

Update does nothing

Use CodeIgniter and PHP. When doing an Update, no message is displayed and the update is not done. client_search (controller): public function mod(){ $mod=$this->main_model->mod( $this->input->post("DocIdent"...
asked by 09.10.2018 / 06:47
2
answers

Pass several variables with javascript from a view to a function in the controller

Hello stack overflow friends in Spanish, my question is if you can help me to pass more than one variable in the following code, I will be very grateful <script type="text/javascript"> function PagarCuotaCuenta(cuotas,importe,i...
asked by 09.10.2018 / 22:42
0
answers

Too few arguments to function when trying to adapt tutorial to make an update

Use Codeigniter with php, in a tutorial a crud is done, I already had the insert and I tried to adapt the code to make an update, but the code of the tutorial calls the model mod twice, and in one it happens only 1 argument. I think that's why i...
asked by 08.10.2018 / 11:59
0
answers

filters with elasticsearch where both conditions are met

I'm doing a search in elasticsearch where you will have several filters but these filters but you should only bring me results that meet all the filters. This is the code of the search: "query" => [ "bool" =&g...
asked by 05.10.2018 / 19:19