Posts by Cesar Vinicius • 145 points
13 posts
-
0
votes0
answers10
viewsQ: Xdebug return http calls
Good afternoon. I have Xdebug configured in PHPSTORM and it is working, the problem is when my application needs to make some HTTP request, it goes between the breakpoints until the call, after that…
-
0
votes1
answer28
viewsA: Yii2 Call to a Member Function getRoute()
I managed to solve and I will post here in case someone has the same problem. After a lot of research I saw that it is very simple to solve, in my test method I only had to enter the following code:…
-
0
votes1
answer28
viewsQ: Yii2 Call to a Member Function getRoute()
I had to make a page using Yii2 at work and at first everything went well, I tested via Postman and the paging works right. $pagination = new Pagination(['totalCount' =>…
-
0
votes2
answers172
viewsQ: Docker conect mysql in another Docker-Compose
I have two Docker-Compose.yml in the first is defined my database: # Docker-compose com banco mysql e postgress junto com phpmyadmin e PGADMIN version: '3' services: # MYSQL db: image: mysql…
-
0
votes1
answer129
viewsQ: preg_match returning 0
Good afternoon, I have a string I get from the database <!DOCTYPE html> <html> <head> </head> <body> <div> </div> <div> </div> <div>…
-
0
votes1
answer1126
viewsQ: Django datetimefield as text
I am creating an application on Jango where I will have a form to create scheduling queries, my model is like this: class Agenda(models.Model): """Criação da agenda de consultas da Clinica"""…
-
1
votes1
answer362
viewsA: cannot add or update a Child Row a Foreign key Constraint fails Laravel
Give a select in your table tbl_answers and see if the fields search_id, question_id and opcao_id are not set to 0. If yes changes to null and tries again.
-
-2
votes2
answers2067
viewsA: Maskmoney c/ Jquery or Javascript
try using the code below: $("#demo3").maskMoney({prefix:'R$ ', allowNegative: true, thousands:'.', decimal:',', affixesStay: false});
-
1
votes1
answer7082
viewsQ: Open existing project Laravel
I need to open a project previously done in Aravel. I’ve never worked with Laravel, so I don’t know where I might be going wrong. the project came in a file . zip when I unpacked it created a folder…
-
4
votes1
answer416
viewsQ: How to group Counts for different queries into one?
I need to make an SQL query to count indications, I have the following querys: SELECT 'FACEBOOK', COUNT(id) FROM `clientes` where indicacao like '%face%' SELECT 'Instagram', COUNT(id) FROM…
-
1
votes2
answers196
viewsQ: Event add div javascript
I have a code where there is a form and the user can choose the number of lines by clicking on buttons that are in front of the input, there is a '+' button to add a new input and '-' to remove the…
-
3
votes3
answers113
viewsQ: Sum between Mysql lines
I’m having trouble performing an operation using Mysql, I don’t even know if it is possible to do what I want. I have a control_de_stock table, in this table I have all the operations that are…
mysqlasked Cesar Vinicius 145 -
0
votes2
answers481
viewsA: Doubt - SQL update from PHP form
Well, let’s go through the basics, When you call insedeDados function you are passing the ID? if yes, give a var_dumb($id) inside its function and see if it returns the id number, maybe the function…