Questions tagged as 'phalcon'

2
answers

Consultation of Inner Join to the same table

in advance thanks:) I have a small question, I must take the data from an id that is in the table using phalcon with mvc. The question is this, my table is this: |-----------|-----------|----------|--------------|----------------| | idus...
asked by 22.03.2018 / 22:43
0
answers

Update with phalcon and vue.js [closed]

I would like to know if someone can explain to me how to send a form in the middle of x-www-urlencoded en vue.js?     
asked by 05.03.2018 / 15:39
2
answers

How to insert data from a json in a mysql table with phalcon?

I am currently working with the php phalcon framework and I have a problem when saving information to the database with json, make an ajax that loads me some inputs depending on the code of a team <script type="text/javascript"> $("#c...
asked by 09.12.2016 / 18:59
1
answer

How to monitor a log with jquery or a dynamic library? [closed]

Hi, I want to monitor the information stored in a log about the events in my system. Create the .log file using phalcon I can already, but in what way I visualize it in a dynamic way that is updated without the need to update the page if not whe...
asked by 03.10.2016 / 19:39
1
answer

Install Phalcon Devtools on OSX with Mamp

I am trying to install phalcon-devtools in OSX with MAMP and Php 7.0.10 but there is no way to make it work. I downloaded the extension phalcon.so to the corresponding version of my php and the I went up in:    /Applications/MAMP/bin/php/ph...
asked by 30.09.2016 / 22:18
0
answers

Perform search in an array by parameters

I have a function that, according to the parameters, performs a search in an array and returns a number of an account public function putAssignamentAccount($Agrupacion, $TipoPersona, $pais, $segmento = null) { $model_get = new $this->m...
asked by 27.12.2018 / 15:04
0
answers

pass parameter and take it as username

I have some functions and I need you to send me the username as a parameter to use it in my function but I do not know how I can do it. // aqui pretendo que reciba el parametro usuario lo puse para el ejemplo pero realmente solo tengo un param...
asked by 13.12.2018 / 17:17
1
answer

How can I update a record in a database without using a sql statement with phalcon

Good morning I have the following function. /* Función para incrementar el contador para consecutivo de clientes*/ public function putAddConsecutiveClient($noCarteraSap) { $model_get = new $this->modelClass; $model = $model_get::...
asked by 12.12.2018 / 16:35
0
answers

use the same variable in 2 php functions

I have this function public function getConsecutiveByRange($rango) { $sql ="SELECT contador, rango_numeros FROM def_consecutivo WHERE rango_numeros=:rango"; return $this->getResponseQueryOne($sql, ["rango"=>$rango]);...
asked by 11.12.2018 / 16:57
0
answers

Help with a consecutive PHP

Good morning! I have a problem with a function. I have a table called def_client | nombre | apellido| no_cart| | ------ |---------| ------:| | Globe | Negro | 98 | | Scala | Azul | 489 | | Palais | Granate | 66079 | I h...
asked by 08.12.2018 / 16:54